summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorMaxime Coquelin <maxime.coquelin@redhat.com>2022-01-24 17:58:29 +0100
committerIlya Maximets <i.maximets@ovn.org>2022-01-31 21:36:59 +0100
commita7f52b7eb657a004b466bd0f8888e5b563ae2b27 (patch)
treeae3af4a83d2c9d96e0383b5f42d9bcb0c0640ea5 /vswitchd
parent53a540e5311c836b58c7b27a1afb68b6f52bdb75 (diff)
downloadopenvswitch-a7f52b7eb657a004b466bd0f8888e5b563ae2b27.tar.gz
vswitchd.xml: Add missing tx-steering PMD option.
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> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.xml23
1 files changed, 23 insertions, 0 deletions
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">