Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netmap_ring request size 65792 too large #959

Open
Jack-wx opened this issue Jun 2, 2024 · 1 comment
Open

netmap_ring request size 65792 too large #959

Jack-wx opened this issue Jun 2, 2024 · 1 comment

Comments

@Jack-wx
Copy link

Jack-wx commented Jun 2, 2024

sudo ./pkt-gen -i eth1 -v -f txseq -c 2 -p 2 -b 512 tx 1024 -v
dmesg output:
[56818.530359] 907.096685 [1134] generic_netmap_attach Emulated adapter for eth1 created (prev was NULL)
[56818.530363] 907.096689 [1989] netmap_interp_ringid eth1: tx [0,1) rx [0,1) id 0
[56818.530366] 907.096692 [1026] netmap_obj_malloc netmap_ring request size 65792 too large
[56818.531071] 907.097398 [2001] netmap_mem2_rings_create Cannot allocate RX_ring
[56818.531633] 907.097960 [ 433] netmap_init_obj_allocator_bitmap netmap_if free 100
[56818.531634] 907.097961 [ 433] netmap_init_obj_allocator_bitmap netmap_ring free 200
[56818.531909] 907.098236 [ 433] netmap_init_obj_allocator_bitmap netmap_buf free 163840
[56818.531911] 907.098238 [1039] generic_netmap_dtor Emulated netmap adapter for eth1 destroyed

don't kown how to solve this? Is there any addvise?

@Jack-wx
Copy link
Author

Jack-wx commented Jun 9, 2024

image
I notice this:
buf_curr_num 163840, buf_num 163840.
buf_curr_size 2048, buf_size 2048
Is that right?
How can I modify buf_curr_num parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant