Hi Until now, we have used PF_RING TNAPI for packet filtering on Intel 1G card so we are familiar with PF_RING. We are now working on a project that requires hardware filtering on 82599 Intel network card using PF_RING. We have recently purchased PF_RING ZC license for 10 Gbit adapters Steps we have done:
- Downloaded downloaded PF_RING-6.0.2.tar.gz - Compiled PF_RING and drivers from PF_RING-6.0.2 - purchased PF_RING ZC license for 10 Gbit adapters (order 1416498630) - downloaded http://www.nmon.net/packages/debian/7.6/all/PF_RING-dkms/pfring-dkms_6.0.3_all.deb and installed it - activated licence per instructions - insmoding pf_ring and ixgbe.ko driver using script in attachment (script is located in /opt/PF_RING-6.0.2/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.21.2-zc/src) Problems we have: - we don't seem to get file in cat /proc/net/pf_ring/dev/eth2/rules where rules for hardware filtering can be set. - Insmod ixgbe.ko with parameter FdirMode=2,2,2,2 returns: Error: could not insert module ixgbe.ko: Unknown symbol in module - In dmesg after using load_driver_".sh script we do not get line: ixgbe: 0000:02:00.0: ixgbe_check_options: Flow Director perfect filtering enabled I have attached output from dmesg after using script load_driver_2.sh Can you help us determine what are we doing wrong? Thank you in advance, Katarina Valent [cid:[email protected]] Katarina Valent Software developer tel: +385 1 6699 555 fax: +385 1 6699 542 mob: +385 91 7605 124 Intenda Net Member of Recro Group Av. V. Holjevca 40 10 010 Zagreb, Hrvatska www.intendanet.hr<http://www.intendanet.hr/> www.intaxisolutions.com<http://www.intaxisolutions.com>
load_driver_2.sh
Description: load_driver_2.sh
[ 6324.774240] NET: Unregistered protocol family 27 [ 6324.774250] [PF_RING] Module unloaded [ 6324.778326] [PF_RING] Welcome to PF_RING 6.0.2 ($Revision: exported$) [ 6324.778328] (C) 2004-14 ntop.org [ 6324.778348] [PF_RING] registered /proc/net/pf_ring/ [ 6324.778351] NET: Registered protocol family 27 [ 6324.778358] [PF_RING] Min # ring slots 4096 [ 6324.778360] [PF_RING] Slot version 16 [ 6324.778362] [PF_RING] Capture TX Yes [RX+TX] [ 6324.778364] [PF_RING] Transparent Mode 2 [ 6324.778365] [PF_RING] IP Defragment No [ 6324.778367] [PF_RING] Initialized correctly [ 6324.786048] Intel(R) 10 Gigabit PCI Express Network Driver - version 3.21.2 [ 6324.786051] Copyright (c) 1999-2014 Intel Corporation. [ 6324.786105] ixgbe 0000:02:00.0: setting latency timer to 64 [ 6324.786227] ixgbe: Receive-Side Scaling (RSS) set to 1 [ 6324.786232] ixgbe: Flow Director packet buffer allocation set to 3 [ 6324.786237] ixgbe: 0000:02:00.0: ixgbe_check_options: Flow Director will be allocated 256kB of packet buffer [ 6324.786243] ixgbe: 0000:02:00.0: ixgbe_check_options: FCoE Offload feature enabled [ 6325.930160] ixgbe 0000:02:00.0: irq 49 for MSI/MSI-X [ 6325.930169] ixgbe 0000:02:00.0: irq 50 for MSI/MSI-X [ 6325.932640] ixgbe 0000:02:00.0: PCI Express bandwidth of 32GT/s available [ 6325.932644] ixgbe 0000:02:00.0: (Speed:5.0GT/s, Width: x8, Encoding Loss:20%) [ 6325.932727] ixgbe 0000:02:00.0: eth0: MAC: 2, PHY: 1, PBA No: E68785-007 [ 6325.932730] ixgbe 0000:02:00.0: 90:e2:ba:80:f3:64 [ 6325.932739] ixgbe 0000:02:00.0: eth0: Enabled Features: RxQ: 1 TxQ: 1 LRO [ 6325.934198] ixgbe 0000:02:00.0: eth0: Intel(R) 10 Gigabit Network Connection [ 6325.934286] ixgbe 0000:02:00.1: setting latency timer to 64 [ 6325.934424] ixgbe: Receive-Side Scaling (RSS) set to 1 [ 6325.934426] ixgbe: Flow Director packet buffer allocation set to 3 [ 6325.934429] ixgbe: 0000:02:00.1: ixgbe_check_options: Flow Director will be allocated 256kB of packet buffer [ 6325.934431] ixgbe: 0000:02:00.1: ixgbe_check_options: FCoE Offload feature enabled [ 6326.109946] ixgbe 0000:02:00.1: irq 51 for MSI/MSI-X [ 6326.109956] ixgbe 0000:02:00.1: irq 52 for MSI/MSI-X [ 6326.112429] ixgbe 0000:02:00.1: PCI Express bandwidth of 32GT/s available [ 6326.112432] ixgbe 0000:02:00.1: (Speed:5.0GT/s, Width: x8, Encoding Loss:20%) [ 6326.112516] ixgbe 0000:02:00.1: eth2: MAC: 2, PHY: 15, SFP+: 6, PBA No: E68785-007 [ 6326.112519] ixgbe 0000:02:00.1: 90:e2:ba:80:f3:65 [ 6326.112522] ixgbe 0000:02:00.1: eth2: Enabled Features: RxQ: 1 TxQ: 1 LRO [ 6326.114019] ixgbe 0000:02:00.1: eth2: Intel(R) 10 Gigabit Network Connection [ 6327.244348] ADDRCONF(NETDEV_UP): eth2: link is not ready [ 6327.302028] ixgbe 0000:02:00.1: eth2: detected SFP+: 6 [ 6327.553635] ixgbe 0000:02:00.1: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX [ 6327.555108] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready [ 6328.997311] ixgbe 0000:02:00.1: eth2: detected SFP+: 6 [ 6329.043820] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 6329.249263] ixgbe 0000:02:00.1: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
