luigirizzo / netmap

Automatically exported from code.google.com/p/netmap
BSD 2-Clause "Simplified" License
1.82k stars 533 forks source link

netmap_ring request size 65792 too large #959

Open Jack-wx opened 1 month ago

Jack-wx commented 1 month ago

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 commented 1 month ago

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