W dniu 14.05.2014 09:14, Luca Deri pisze: > Michael, > yes you can do that (during insmod you specify the list of MAC to > enable) but the best is you to move to PF_RING ZC where you can decide > that at runging by opening the device as "zc:ethX" (direct mode) or > "ethX" (via Linux stack) > > Luca >
Hello, I need to ask for another clarification. If I have DNA drivers and use adapters_to_enable it enables DNA only for specified NIC. But what happens with other network cards? Do they work as PF_RING aware driver? For example I have /sbin/insmod /usr/local/modules/ixgbe.ko adapters_to_enable=90:e2:ba:37:13:02 allow_unsupported_sfp=1 MQ=0 And looking into proc: root@isildur:~# cat /proc/net/pf_ring/dev/dna0/info Name: dna0 Index: 9 Address: 90:E2:BA:37:13:02 Polling Mode: DNA Type: Ethernet Family: Intel ixgbe 82599 Max # TX Queues: 1 # Used RX Queues: 1 root@isildur:~# cat /proc/net/pf_ring/dev/ten0/info Name: ten0 Index: 10 Address: 6C:B3:11:3B:21:A8 Polling Mode: NAPI/TNAPI Type: Ethernet Family: Intel 82599 # Bound Sockets: 0 Max # TX Queues: 16 # Used RX Queues: 16 So NAPI/TNAPI means it works as classic Linux device (non-PF_RING-aware)? Another question - if we would switch to PF_RING ZC - will applications written for PF_RING (for example WANguard) work fine? Thank you! Thanks! -- Michał Margula, [email protected], http://alchemyx.uznam.net.pl/ "W życiu piękne są tylko chwile" [Ryszard Riedel] _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
