summaryrefslogtreecommitdiff
path: root/Documentation/topics
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2021-12-20 14:38:40 +0000
committerIlya Maximets <i.maximets@ovn.org>2022-01-18 12:26:36 +0100
commit4da71121dac58e5d28da81251829dd22786aec45 (patch)
treed5721478bd3150dc6bbe000f24fe21dd9fb6fc96 /Documentation/topics
parent85d3785e6a59b133e2fe195efe5729d08cb6b930 (diff)
downloadopenvswitch-4da71121dac58e5d28da81251829dd22786aec45.tar.gz
Documentation: Fix Rx/Tx queue configuration section.
ovs-vsctl is used to configure physical Rx queues, not ovs-appctl. Number of Tx queues are configured differently depending on whether physical or virtual. Present documentation does not distinguish. Fixes: 31d0dae22a0e ("doc: Add "PMD" topic document") Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Sunil Pai G <sunil.pai.g@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/topics')
-rw-r--r--Documentation/topics/dpdk/pmd.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/Documentation/topics/dpdk/pmd.rst b/Documentation/topics/dpdk/pmd.rst
index e659fefef..acb1b9a50 100644
--- a/Documentation/topics/dpdk/pmd.rst
+++ b/Documentation/topics/dpdk/pmd.rst
@@ -31,17 +31,19 @@ input ports for packets, classifying packets once received, and executing
actions on the packets once they are classified.
PMD threads utilize Receive (Rx) and Transmit (Tx) queues, commonly known as
-*rxq*\s and *txq*\s. While Tx queue configuration happens automatically, Rx
-queues can be configured by the user. This can happen in one of two ways:
+*rxq*\s and *txq*\s to receive and send packets from/to an interface.
-- For physical interfaces, configuration is done using the
- :program:`ovs-appctl` utility.
+- For physical interfaces, the number of Tx Queues is automatically configured
+ based on the number of PMD thread cores. The number of Rx queues can be
+ configured with::
-- For virtual interfaces, configuration is done using the :program:`ovs-appctl`
- utility, but this configuration must be reflected in the guest configuration
- (e.g. QEMU command line arguments).
+ $ ovs-vsctl set Interface <interface_name> options:n_rxq=N
-The :program:`ovs-appctl` utility also provides a number of commands for
+- For virtual interfaces, the number of Tx and Rx queues are configured by
+ libvirt/QEMU and enabled/disabled in the guest. Refer to :doc:'vhost-user'
+ for more information.
+
+The :program:`ovs-appctl` utility provides a number of commands for
querying PMD threads and their respective queues. This, and all of the above,
is discussed here.