On 17/01/2022 22:25, Maxime Coquelin wrote:
This patch documents PMD's other_config:tx-steering option.
Signed-off-by: Maxime Coquelin <[email protected]>
---
vswitchd/vswitch.xml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 026b5e2ca..ef7f8f2c8 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -3375,6 +3375,28 @@ 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 txq mapping when the number of txq
+ is greater or equal than the number of PMD threads, and XPS mode if
+ lower than the number of PMD threads.
I think it should be 'greater than PMD threads, and XPS mode if equal or
lower than the number of PMD threads.', because one txq is also needed
for the OVS main thread. I checked the code and this txq is accounted
for in wanted_txqs.
With this fix:
Acked-by: Kevin Traynor <[email protected]>
+ </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">
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev