From 739f28c611ff5b0583cbb82bf66c30a497eb71a1 Mon Sep 17 00:00:00 2001 From: Jacob Rowe-Lane Date: Sun, 13 Mar 2022 08:29:44 +0000 Subject: [PATCH] Update RDMA Interface documentation with further information for interface configuration in case of SR-IOV VFs --- src/plugins/rdma/rdma_doc.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/plugins/rdma/rdma_doc.rst b/src/plugins/rdma/rdma_doc.rst index c22ea550a75a..38477603c971 100644 --- a/src/plugins/rdma/rdma_doc.rst +++ b/src/plugins/rdma/rdma_doc.rst @@ -90,6 +90,15 @@ underlying VF is configured in trusted mode and spoof-checking is disabled (of course, be aware of the `security considerations <#Security%20considerations>`__): +If you are passing a VF into a Virtual Machine, configure your SR-IOV +settings as normal on the host machine. This includes spoof checking +(use ``spoofchk on`` if ``spoof on`` is considered garbage on your +system). Within your VM, bring the interface up inside your OS and +note the MAC Address (or set it manually) using ``ifconfig`` or +``ip link`` and ensure you set the MAC Address of your VPP interface +to match this with ``vpp# set int mac address `` and bring it up as usual. + :: host# ip l set dev enp94s0f0 vf 0 spoof off trust on