Skip to content

Commit

Permalink
Documentation: Fix Rx/Tx queue configuration section.
Browse files Browse the repository at this point in the history
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: 31d0dae ("doc: Add "PMD" topic document")
Signed-off-by: Kevin Traynor <[email protected]>
Acked-by: Sunil Pai G <[email protected]>
Reviewed-by: David Marchand <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
kevintraynor authored and igsilya committed Jan 18, 2022
1 parent 85d3785 commit 4da7112
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Documentation/topics/dpdk/pmd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 4da7112

Please sign in to comment.