Skip to content

Commit ba83353

Browse files
committed
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/+/898945 Change-Id: I63b0641f6b7ef0e1190f421a90619bb2971d0d44 (cherry picked from commit 3fc8d32) (cherry picked from commit 7daf61a)
1 parent 6283440 commit ba83353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/admin/config-ovs-offload.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Validate Open vSwitch hardware offloading
355355

356356
.. code-block:: bash
357357
358-
# openstack port create --network private --vnic-type=direct --binding-profile '{"capabilities": ["switchdev"]}' direct_port1
358+
# openstack port create --network private --vnic-type=direct direct_port1
359359
360360
361361
#. Create an instance using the direct port on 'First Compute Node'
@@ -369,7 +369,7 @@ Validate Open vSwitch hardware offloading
369369

370370
.. code-block:: bash
371371
372-
# openstack port create --network private --vnic-type=direct --binding-profile '{"capabilities": ["switchdev"]}' direct_port2
372+
# openstack port create --network private --vnic-type=direct direct_port2
373373
# openstack server create --flavor m1.small --image mellanox_fedora --nic port-id=direct_port2 vm2
374374
375375
.. note::

0 commit comments

Comments
 (0)