Mailing List Archive

Error in pfsend in using ZC option
When trying to use pfsend to test throughput on 10Gb/s captures I get this
error on pfsend:

*pfsend -f file.pcap -i ZC:eth5 -r 8*
*Sending packets on ZC:eth5*
*pfring_open error [No such device] (pf_ring not loaded or interface
ZC:eth5 is down ?)*

The interface is loaded and up as well as the info for the connection shows
as follows:

*cat /proc/net/pf_ring/dev/eth5/info*
*Name: eth5*
*Index: 13*
*Address: A0:36:9F:DB:79:BA*
*Polling Mode: NAPI/ZC*
*Type: Ethernet*
*Family: Intel ixgbe 82599*
*TX Queues: 1*
*RX Queues: 1*
*Num RX Slots: 32768*
*Num TX Slots: 32768*

Also have PF_RING loaded:

*cat /proc/net/pf_ring/info*
*PF_RING Version : 6.7.0
(dev:1034289a8adac9b21799a1dea91e1604c9296ed1)*
*Total rings : 0*

*Standard (non ZC) Options*
*Ring slots : 4096*
*Slot version : 16*
*Capture TX : Yes [RX+TX]*
*IP Defragment : No*
*Socket Mode : Standard*
*Cluster Fragment Queue : 0*
*Cluster Fragment Discard : 0*

Can you help clarify the missing link here? I've installed these packages
from the ntop.org packages list.

*e1000e-zc-3.2.7.1.1201-dkms.noarch.rpm*
*i40e-zc-1.5.18.1201-1dkms.noarch.rpm*
*igb-zc-5.3.3.5.1201-dkms.noarch.rpm*
*ixgbe-zc-4.1.5.1201-dkms.noarch.rpm*
*pfring-6.7.0-1201.x86_64.rpm*
*pfring-dkms-6.7.0-1201.noarch.rpm*
*pfring-drivers-zc-dkms-1.2-0.noarch.rpm*

Other tools like pfcount works correctly. Thanks.

--

Josh
Re: Error in pfsend in using ZC option [ In reply to ]
Hi Josh
please use “zc:” as prefix for the interface name (lower case)

Alfredo

> On 1 May 2017, at 16:50, Josh <josh.lane@gmail.com> wrote:
>
> When trying to use pfsend to test throughput on 10Gb/s captures I get this error on pfsend:
>
> pfsend -f file.pcap -i ZC:eth5 -r 8
> Sending packets on ZC:eth5
> pfring_open error [No such device] (pf_ring not loaded or interface ZC:eth5 is down ?)
>
> The interface is loaded and up as well as the info for the connection shows as follows:
>
> cat /proc/net/pf_ring/dev/eth5/info
> Name: eth5
> Index: 13
> Address: A0:36:9F:DB:79:BA
> Polling Mode: NAPI/ZC
> Type: Ethernet
> Family: Intel ixgbe 82599
> TX Queues: 1
> RX Queues: 1
> Num RX Slots: 32768
> Num TX Slots: 32768
>
> Also have PF_RING loaded:
>
> cat /proc/net/pf_ring/info
> PF_RING Version : 6.7.0 (dev:1034289a8adac9b21799a1dea91e1604c9296ed1)
> Total rings : 0
>
> Standard (non ZC) Options
> Ring slots : 4096
> Slot version : 16
> Capture TX : Yes [RX+TX]
> IP Defragment : No
> Socket Mode : Standard
> Cluster Fragment Queue : 0
> Cluster Fragment Discard : 0
>
> Can you help clarify the missing link here? I've installed these packages from the ntop.org <http://ntop.org/> packages list.
>
> e1000e-zc-3.2.7.1.1201-dkms.noarch.rpm
> i40e-zc-1.5.18.1201-1dkms.noarch.rpm
> igb-zc-5.3.3.5.1201-dkms.noarch.rpm
> ixgbe-zc-4.1.5.1201-dkms.noarch.rpm
> pfring-6.7.0-1201.x86_64.rpm
> pfring-dkms-6.7.0-1201.noarch.rpm
> pfring-drivers-zc-dkms-1.2-0.noarch.rpm
>
> Other tools like pfcount works correctly. Thanks.
>
> --
>
> Josh
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc