XDP on driver nfp_netvf


mdimolianis@...
 

Hi all,
We have acquired some Netronome Agilio CX 10GbE, installed on a server running a Proxmox node. We have created a virtual function and pass through them to a Virtual Machine running Ubuntu 18 with kernel 4.18.0 since Netronome does not support pass through the physical NIC interface directly to the VM. The driver that is used in the VM is the nfp_netvf. We tried to execute an XDP program on the interface but we couldn't. I assume that this driver does not support XDP execution.
Has anyone achieved to pass through the smartNIC directly to a VM?
Do you know if XDP is going to be supported in nfp_netvf driver?
Thank you in advance.
Regards,
Marinos



Jakub Kicinski
 

On Tue, 14 May 2019 10:15:04 -0700, mdimolianis@... wrote:
Hi all,
We have acquired some Netronome Agilio CX 10GbE, installed on a
server running a Proxmox node. We have created a virtual function and
pass through them to a Virtual Machine running Ubuntu 18 with kernel
4.18.0 since Netronome does not support pass through the physical NIC
interface directly to the VM. The driver that is used in the VM is
the nfp_netvf. We tried to execute an XDP program on the interface
but we couldn't. I assume that this driver does not support XDP
execution.

Has anyone achieved to pass through the smartNIC directly to a VM?
Do you know if XDP is going to be supported in nfp_netvf driver?
Unfortunately current SR-IOV implementation on the CX and LX series
of cards does not provide enough resources on the VFs to implement
XDP in driver mode :(