Hi Alfredo,

it seems that module is ok, i remove completely "old" ixgbe but i still can't use zc driver


/usr/src/ixgbe-zc-3.22.3.58 # /usr/local/bin/pfsend -i eth2 -p 90000 -n 100 -v | more
Dumping statistics on /proc/net/pf_ring/stats/6463-eth2.2
Sending packets on eth2
Using PF_RING v.6.1.1
Estimated CPU freq: 2703080000 Hz
Rate set to 90000.00 pps
NOT using zero-copy: not supported by this driver


/usr/src/ixgbe-zc-3.22.3.58 # rpm -qa | grep ixgbe
ixgbe-zc-3.22.3.58-1dkms.noarch


root@w /usr/src/ixgbe-zc-3.22.3.58 # modinfo ixgbe
ERROR: modinfo: could not open /lib/modules/2.6.32-504.23.4.el6.x86_64/kernel/drivers/net/ixgbe/ixgbe.ko: No such file or directory

root@w /usr/src/ixgbe-zc-3.22.3.58 # modinfo ixgbe_zc
filename: /lib/modules/2.6.32-504.23.4.el6.x86_64/weak-updates/ixgbe_zc.ko version: 3.22.3


/usr/src/ixgbe-zc-3.22.3.58 # ethtool -i eth2
driver: ixgbe
version: 3.22.3


/usr/src/ixgbe-zc-3.22.3.58 # modinfo ixgbe
ERROR: modinfo: could not open /lib/modules/2.6.32-504.23.4.el6.x86_64/kernel/drivers/net/ixgbe/ixgbe.ko: No such file or directory


/usr/src/ixgbe-zc-3.22.3.58 # modinfo ixgbe_zc
filename: /lib/modules/2.6.32-504.23.4.el6.x86_64/weak-updates/ixgbe_zc.ko
version:        3.22.3
license:        GPL
description:    Intel(R) 10 Gigabit PCI Express Network Driver
author:         Intel Corporation, <[email protected]>
srcversion:     D089CCC31736939BADE29C3
alias:          pci:v00008086d00001560sv*sd*bc*sc*i*



thanks for any help
Peter




W dniu 2015-07-01 o 18:27, Alfredo Cardigliano pisze:
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/. Please have a look at
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]
<mailto:[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 <http://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] <mailto:[email protected]>
http://listgateway.unipi.it/mailman/listinfo/ntop-misc



_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to