Hi Peter it seems ixgbe is loaded while you should use ixgbe_zc, please let me see the output of the following commands to double-check: ethtool -i eth2 cat /proc/net/pf_ring/dev/eth2/info It is recommended to use our init script installing packages from our repository http://www.ntop.org/packages/ <http://www.ntop.org/packages/>. Please have a look at http://www.ntop.org/wp-content/uploads/2011/08/n2disk-UsersGuide1.pdf <http://www.ntop.org/wp-content/uploads/2011/08/n2disk-UsersGuide1.pdf> Appendix A - Configuring a PF_RING Deb/RPM package.
Alfredo > On 01 Jul 2015, at 15:09, Piotr <[email protected]> wrote: > > Hi, > > I have pf_ring 6.1.1, for first step i try use this as very fast packets > generator. I have license for one mac (eth2). Something goes wrong because > doesn't use zero copy mode, don't see zc:eth2 device > > I try this: > > insmod /usr/src/pfring-6.1.1/pf_ring.ko transparent_mode=2 > rmmod ixgbe > modprobe ixgbe_zc > > centos 6 still use old driver ixgbe ?? > > lspci -v show me: > > 83:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ > Network Connection (rev 01) > .. > Kernel driver in use: ixgbe > Kernel modules: ixgbe_zc, ixgbe > > in dmesg i don't see zc:eth2 device > > > [PF_RING] Welcome to PF_RING 6.1.1 ($Revision: :$) > (C) 2004-14 ntop.org > [PF_RING] registered /proc/net/pf_ring/ > NET: Registered protocol family 27 > [PF_RING] Warning: transparent_mode is deprecated! > [PF_RING] Min # ring slots 4096 > [PF_RING] Slot version 16 > [PF_RING] Capture TX Yes [RX+TX] > [PF_RING] IP Defragment No > [PF_RING] Initialized correctly > > ixgbe 0000:83:00.1: PCI Express bandwidth of 32GT/s available > ixgbe 0000:83:00.1: (Speed:5.0GT/s, Width: x8, Encoding Loss:20%) > ixgbe 0000:83:00.1: eth3: MAC: 2, PHY: 14, SFP+: 6, PBA No: FFFFFF-0FF > ixgbe 0000:83:00.1: 04:7d:7b:f1:06:53 > ixgbe 0000:83:00.1: eth3: Enabled Features: RxQ: 16 TxQ: 16 FdirHash LRO > ixgbe 0000:83:00.1: eth3: Intel(R) 10 Gigabit Network Connection > ixgbe 0000:83:00.0: eth2: detected SFP+: 5 > ixgbe 0000:83:00.1: registered PHC device on eth3 > ixgbe 0000:83:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX > ADDRCONF(NETDEV_UP): eth3: link is not ready > ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready > ixgbe 0000:83:00.1: eth3: detected SFP+: 6 > > > > i have also > cat /etc/modprobe.d/blacklist.conf | grep ixgbe > blacklist ixgbe > > > i test in this way: > > /usr/local/bin/pfsend -i eth2 -p 500000 -n 10000 -v > > Sending packets on eth2 > Using PF_RING v.6.1.1 > Estimated CPU freq: 2707918000 Hz > Rate set to 500000.00 pps > NOT using zero-copy: not supported by this driver > > > TX rate: [current 12'348.42 pps/0.01 Gbps][average 12'348.42 pps/0.01 > Gbps][total 10'000.00 pkts] > Sent 10000 packets > > > thanks for help > Peter > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
