diff mbox series

[ovs-dev,v2,1/2] vswitchd.xml: Add missing tx-steering PMD option.

Message ID 20220124165830.73060-2-maxime.coquelin@redhat.com
State Accepted
Commit a7f52b7eb657a004b466bd0f8888e5b563ae2b27
Headers show
Series Improve userspace Tx steering documenation. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed

Commit Message

Maxime Coquelin Jan. 24, 2022, 4:58 p.m. UTC
This patch documents PMD's other_config:tx-steering option.

Acked-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
---
 vswitchd/vswitch.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 064e0facf..0c6632617 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -3391,6 +3391,29 @@  ovs-vsctl add-port br0 p0 -- set Interface p0 type=patch options:peer=p1 \
         </ul>
         <p>This option may only be used with dpdk VF representors.</p>
       </column>
+
+      <column name="other_config" key="tx-steering"
+              type='{"type": "string",
+                     "enum": ["set", ["thread", "hash"]]}'>
+        <p>
+          Specifies the Tx steering mode for the interface.
+        </p>
+        <p>
+          <code>thread</code> enables static (1:1) thread-to-txq mapping when
+          the number of Tx queues is greater than number of PMD threads, and
+          dynamic (N:1) mapping if equal or lower. In this mode a single thread
+          can not use more than 1 transmit queue of a given port.
+        </p>
+        <p>
+          <code>hash</code> enables hash-based Tx steering, which distributes
+          the packets on all the transmit queues based on their 5-tuples
+          hashes.
+        </p>
+        <p>
+          Defaults to <code>thread</code>.
+        </p>
+      </column>
+
     </group>
 
     <group title="EMC (Exact Match Cache) Configuration">