DOC UPDATE for max-tx-rate on VF subinterface
Updated Patchset 1 Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com> Change-Id: I198fdcbf72e5edb8cd9613be213029083a400375 Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com>
This commit is contained in:
parent
37ef706610
commit
4a861689b0
@ -29,10 +29,10 @@ Be aware of the following guidance when using this feature:
|
|||||||
- The total sum of the maximum transmission rates of all rate limited |VFs|
|
- The total sum of the maximum transmission rates of all rate limited |VFs|
|
||||||
cannot exceed 90% of the port link speed.
|
cannot exceed 90% of the port link speed.
|
||||||
|
|
||||||
- The unit is Mbps, and value of 0 means turn off the rate limiting.
|
- The units are Mbps, and value of 0 means turn off the rate limiting.
|
||||||
|
|
||||||
- |VFs| with different limited rate are supposed to be attached separate data
|
- |VFs| with different limited rate are supposed to be attached to separate
|
||||||
networks and managed by Kubernetes |SRIOV| device plugin as different
|
data networks and managed by Kubernetes |SRIOV| device plugin as different
|
||||||
ResourcePools. You can then use the |VFs| by specifying the corresponding
|
ResourcePools. You can then use the |VFs| by specifying the corresponding
|
||||||
<resourceName>.
|
<resourceName>.
|
||||||
|
|
||||||
@ -69,12 +69,13 @@ Data networks should be created for VF sub-interfaces attachment.
|
|||||||
|
|
||||||
#. Create a sub-interface with rate limiting configuration.
|
#. Create a sub-interface with rate limiting configuration.
|
||||||
|
|
||||||
The parameters are all same as shown in the procedure for |node-doc|:
|
The parameters are all the same as shown in the procedure for |node-doc|:
|
||||||
:ref:`Provisioning SR-IOV VF Interfaces using the CLI
|
:ref:`Provisioning SR-IOV VF Interfaces using the CLI
|
||||||
<provisioning-sr-iov-vf-interfaces-using-the-cli>`, plus one newly added
|
<provisioning-sr-iov-vf-interfaces-using-the-cli>`, plus one newly added
|
||||||
rate limiting related parameter: --max-tx-rate
|
rate limiting related parameter: ``--max-tx-rate``.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
The units for ``max-tx-rate`` are Mbps.
|
||||||
The configured sriov\_numvfs with
|
The configured sriov\_numvfs with
|
||||||
max\_tx\_rate\(max\_tx\_rate\*sriov\_numvfs\) should not exceed 90% of
|
max\_tx\_rate\(max\_tx\_rate\*sriov\_numvfs\) should not exceed 90% of
|
||||||
the link bandwidth.
|
the link bandwidth.
|
||||||
@ -88,12 +89,18 @@ Data networks should be created for VF sub-interfaces attachment.
|
|||||||
|
|
||||||
#. The rate limit configuration can be modified by specifying other values.
|
#. The rate limit configuration can be modified by specifying other values.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The units for ``max-tx-rate`` are Mbps.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system host-if-modify controller-0 sriov00 --max-tx-rate=200
|
~(keystone_admin)$ system host-if-modify controller-0 sriov00 --max-tx-rate=200
|
||||||
|
|
||||||
#. The rate limit configuration can be modified by specifying a value of zero.
|
#. The rate limit configuration can be modified by specifying a value of zero.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Setting ``max-tx-rate`` to 0 disables any rate limiting.
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
~(keystone_admin)$ system host-if-modify controller-0 sriov00 --max-tx-rate=0
|
~(keystone_admin)$ system host-if-modify controller-0 sriov00 --max-tx-rate=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user