From 3fc8d32383feb325f090af5866cad75e0b564e36 Mon Sep 17 00:00:00 2001 From: Alexey Stupnikov Date: Tue, 17 Oct 2023 16:34:27 +0200 Subject: [PATCH] Don't set port capabilities for OVS HW offloading Nova will automatically translate VF capabilities to Neutron port binding profiles after patch [1] will be merged. Existing recommendations in "admin/config-ovs-offload.html" should be updated: there is no need to define capabilities in port binding profiles for new ports anymore. [1] https://review.opendev.org/c/openstack/nova/+/884439 Related-bug: #2020813 Depends-on: https://review.opendev.org/c/openstack/nova/+/884439 Change-Id: I63b0641f6b7ef0e1190f421a90619bb2971d0d44 --- doc/source/admin/config-ovs-offload.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/admin/config-ovs-offload.rst b/doc/source/admin/config-ovs-offload.rst index f990ba1dce6..2123600ac61 100644 --- a/doc/source/admin/config-ovs-offload.rst +++ b/doc/source/admin/config-ovs-offload.rst @@ -355,7 +355,7 @@ Validate Open vSwitch hardware offloading .. code-block:: bash - # openstack port create --network private --vnic-type=direct --binding-profile '{"capabilities": ["switchdev"]}' direct_port1 + # openstack port create --network private --vnic-type=direct direct_port1 #. Create an instance using the direct port on 'First Compute Node' @@ -369,7 +369,7 @@ Validate Open vSwitch hardware offloading .. code-block:: bash - # openstack port create --network private --vnic-type=direct --binding-profile '{"capabilities": ["switchdev"]}' direct_port2 + # openstack port create --network private --vnic-type=direct direct_port2 # openstack server create --flavor m1.small --image mellanox_fedora --nic port-id=direct_port2 vm2 .. note::