FD.io VPP
v20.05.1-5-g09f167997
Vector Packet Processing
|
This plugins provides native device support for intel Adaptive Virtual Function (AVF). AVF is driver specification for current and future Intel Virtual Function devices. AVF defines communication channel between Physical Functions (PF) and VF. In essence, today this driver can be used only with Intel XL710 / X710 / XXV710 adapters.
Driver requires MSI-X interrupt support, which is not supported by uio_pci_generic driver, so vfio-pci needs to be used. On systems without IOMMU vfio driver can still be used with recent kernels which support no-iommu mode.
This driver is still in experimental phase, however it shows very good performance numbers.
Following script creates VF, assigns MAC address and binds VF to vfio-pci
In cases when interface is used in the L2 mode or promisc mode is needed for some other reason, trust needs to be set to "on" using the linux "ip link" utility.
By default Virtual Function is not allowed to send ethernet frames which have source MAC address different than address assigned to the VF. In some cases it is expected that VPP will send such frames (e.g. L2 bridging, bonding, l2 cross-connect) and in such cases spoof chack needs to be turned off by issuing following command:
Interfaces can be dynamically created by using following CLI:
Interface can be deleted with following CLI:
Interface statistics can be displayed with sh hardware-interface <if-name>
command.