avf: add README.md section about spoofing check 01/20101/2
authorDamjan Marion <damarion@cisco.com>
Wed, 12 Jun 2019 20:41:21 +0000 (22:41 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 12 Jun 2019 21:58:43 +0000 (21:58 +0000)
Type: docs
Change-Id: I4ae65ed22275abf0d15045f3b09625d6aaa3b67b
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/avf/README.md

index 0c7d555..40e4f0c 100644 (file)
@@ -82,6 +82,16 @@ trust needs to be set to "on" using the linux "ip link" utility.
 ip link set dev <PF inteface name> vf <VF id> 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 <PF inteface name> vf <VF id> spoofchk off
+```
+
 ### Interface Creation
 Interfaces can be dynamically created by using following CLI:
 ```