Re: Maximum xdpsock txpush rate with AF_XDP ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 29, 2020 at 3:40 AM Cameron Elliott
<cameron@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> I am still stuck at 'xdpsock -t -i enp1s0f0 -N -z'
> Failing: samples/bpf/xdpsock_user.c:xsk_configure_socket:322: errno: 95/"Operation not supported"

Do you get any error messages in dmesg? Also please check if you get
any error messages from the driver when it starts up.

> But if I remove the -z, it works, at 2mpps

This is the SKB mode.

> I believe I am running just i40e without the virtual function driver.
> (installed i40e from source with modprobe)

Same sources as the kernel you are running? Just checking. Do you have
ndo_bpf and ndo_xsk_async_xmit as the latter one was called in 5.3 in
your driver? The error message you get is usually because your driver
does not support zero-copy mode.

> I am running a 5.3 kernel, IS THIS TOO NEW?  (details below)

No, the newer the better. Maybe you can try the latest bpf-next?

> I am running the i40 2.10.19.30 driver, with firmware 7.10 (details below)
>
> Do all those version numbers sound okay?

Yes.

> Should I try a different kernel or i40 driver, or firmware/NVM revision?
>
> Thanks, Cameron
>
>
>
> --- details on kernel and i40 driver and firmware version ---
>
> ~> uname -aLinux lumen 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> ~> ethtool -i enp1s0f0
> driver: i40e
> version: 2.10.19.30
> firmware-version: 7.10 0x80006456 1.2527.0
> expansion-rom-version:
> bus-info: 0000:01:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: yes
>



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux