X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Favf%2FREADME.md;h=7aa2661fbba8e45f708b52bf73704fd5f7921d71;hb=336eac84eb7902eae212f05711ce06967b4d202c;hp=d1a8416621a3feae7091df08ee648371ed41eb7d;hpb=61f702bdd09e569bf9b3ef05d2040de5540fb8db;p=vpp.git diff --git a/src/plugins/avf/README.md b/src/plugins/avf/README.md index d1a8416621a..7aa2661fbba 100644 --- a/src/plugins/avf/README.md +++ b/src/plugins/avf/README.md @@ -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 -* Adaptive mode -* NUMA support +performance numbers. ## Usage ### System setup @@ -75,6 +71,23 @@ setup 0000:3b:00.0 00:11:22:33:44:00 setup 0000:3b:00.1 00:11:22:33:44:01 ``` +### 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: ```