cscrj / netmap

Automatically exported from code.google.com/p/netmap
0 stars 0 forks source link

netmap_if request size 1208 too large with ixgbe #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!

I tried to use netmap for my tool https://github.com/FastVPSEestiOu/fastnetmon 
but I can't run netmap on my server.

Debian 7 with 3.2.0-4-amd64

I tried with upstream ixgbe driver, patch it (partly manually) and run.

And after this I run it:
modprobe ixgbe RSS=1
insmod /usr/src/netmap/LINUX/netmap_lin.ko

But when I run test tool:
./pkt-gen -i eth3

And got error:
[386328.259539] 159.325204 [1049] netmap_mem_global_config  reconfiguring
[386328.294497] 159.360262 [ 385] netmap_obj_malloc         netmap_if request 
size 1208 too large
[386328.295880] 159.361649 [ 753] generic_netmap_dtor       Restored native NA  
         (null)

This error was fixed by ifconfig eth3 up but can't you add sanity checks and 
more understandable error message for this case?

Original issue reported on code.google.com by pavel.odintsov on 29 Oct 2014 at 12:14

GoogleCodeExporter commented 9 years ago
Same issue with ixgbe when interfaces is down.

Original comment by gure...@gmail.com on 26 Nov 2014 at 5:42