Browse Source

Merge "Do not block qos for direct-physical ports"

changes/25/799625/9
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
32e9aae234
  1. 3
      doc/source/admin/config-qos-min-bw.rst
  2. 4
      doc/source/admin/config-qos.rst
  3. 3
      neutron/services/qos/drivers/sriov/driver.py
  4. 7
      releasenotes/notes/allow-qos-min-bw-for-direct-physical-ports-32547cc133c122ef.yaml

3
doc/source/admin/config-qos-min-bw.rst

@ -177,6 +177,9 @@ supported:
* Open vSwitch (``openvswitch``) vnic_types: ``normal``, ``direct``
* SR-IOV (``sriovnicswitch``) vnic_types: ``direct``, ``macvtap``
From the Yoga release the ``direct-physical`` vnic_type is now marked supported
for the SR-IOV (``sriovnicswitch``) agent.
neutron-server config
~~~~~~~~~~~~~~~~~~~~~

4
doc/source/admin/config-qos.rst

@ -85,6 +85,10 @@ traffic directions (from the VM point of view).
direction and only for networks without tunneled traffic (only VLAN and
flat network types).
.. note:: The SR-IOV agent does not support dataplane enforcement for ports
with ``direct-physical`` vnic_type. However since Yoga the Placement
enforcement is supported for this vnic_type too.
.. table:: **Neutron backends, supported directions and enforcement types for Minimum Packet Rate rule**
============================ ========================== ==================== ============== =====

3
neutron/services/qos/drivers/sriov/driver.py

@ -50,7 +50,8 @@ class SRIOVNICSwitchDriver(base.DriverBase):
name='sriovnicswitch',
vif_types=[portbindings.VIF_TYPE_HW_VEB],
vnic_types=[portbindings.VNIC_DIRECT,
portbindings.VNIC_MACVTAP],
portbindings.VNIC_MACVTAP,
portbindings.VNIC_DIRECT_PHYSICAL],
supported_rules=SUPPORTED_RULES,
requires_rpc_notifications=True)

7
releasenotes/notes/allow-qos-min-bw-for-direct-physical-ports-32547cc133c122ef.yaml

@ -0,0 +1,7 @@
---
features:
- |
Neutron now supports the placement enforcement for the guaranteed minimum
bandwidth QoS rule type with direct-phyisical vnic_type as well. The data
plane enforcement of such rule and vnic_type combination is still not
supported.
Loading…
Cancel
Save