X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugins%2Favf%2FREADME.md;h=7aa2661fbba8e45f708b52bf73704fd5f7921d71;hb=39488c8d3064f8940ec4f826629ebb700649e6b5;hp=6a464a46b870e3a44d749f4e8275d4fba79f7e4e;hpb=546ad855a63484fef46ecac61c52bb737a5764c9;p=vpp.git diff --git a/src/plugins/avf/README.md b/src/plugins/avf/README.md index 6a464a46b87..7aa2661fbba 100644 --- a/src/plugins/avf/README.md +++ b/src/plugins/avf/README.md @@ -4,7 +4,7 @@ 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 Funciton (PF) and VF. +Physical Functions (PF) and VF. In essence, today this driver can be used only with Intel XL710 / X710 / XXV710 adapters. @@ -19,11 +19,7 @@ vfio driver can still be used with recent kernels which support no-iommu mode. ##Known issues This driver is still in experimental phase, however it shows very good -performance numbers. Following items are not implemented (yet). - -* Jumbo MTU support -* Interrupt and adaptive mode -* NUMA support +performance numbers. ## Usage ### System setup @@ -75,11 +71,28 @@ setup 0000:3b:00.0 00:11:22:33:44:00 setup 0000:3b:00.1 00:11:22:33:44:01 ``` -### Interface Cration +### Promisc mode +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. +``` +ip link set dev vf trust on +``` + +### L2 spoofing check +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: +``` +ip link set dev vf spoofchk off +``` + +### Interface Creation Interfaces can be dynamically created by using following CLI: ``` create interface avf 0000:3b:02.0 -set int state AVF0/3b/2/0 up +set int state avf-0/3b/2/0 up ``` ### Interface Deletion