[ovs-dev] [PATCH RFC 2/6] dpif-netdev: Allow configuration of number of tx queues.
Ryan Moats
rmoats at us.ibm.com
Wed Jun 22 14:31:09 UTC 2016
"dev" <dev-bounces at openvswitch.org> wrote on 05/12/2016 08:43:11 AM:
> From: Ilya Maximets <i.maximets at samsung.com>
> To: dev at openvswitch.org, Daniele Di Proietto <diproiettod at vmware.com>
> Cc: Dyasly Sergey <s.dyasly at samsung.com>, Flavio Leitner
> <fbl at sysclose.org>, Ilya Maximets <i.maximets at samsung.com>, Kevin
> Traynor <kevin.traynor at intel.com>
> Date: 05/12/2016 08:43 AM
> Subject: [ovs-dev] [PATCH RFC 2/6] dpif-netdev: Allow configuration
> of number of tx queues.
> Sent by: "dev" <dev-bounces at openvswitch.org>
>
> Currently number of tx queues is not configurable.
> Fix that by introducing of new option for PMD interfaces: 'n_txq',
> which specifies the maximum number of tx queues to be created for
> this interface.
>
> Example:
> ovs-vsctl set Interface dpdk0 options:n_txq=64
>
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---
> INSTALL.DPDK.md | 11 ++++++++---
> lib/netdev-dpdk.c | 26 +++++++++++++++++++-------
> lib/netdev-provider.h | 2 +-
> 3 files changed, 28 insertions(+), 11 deletions(-)
>
[snip...]
> @@ -638,7 +641,9 @@ Follow the steps below to attach vhost-user
> port(s) to a VM.
>
> ```
> ovs-vsctl set Interface vhost-user-2 options:n_rxq=<requested queues>
> + ovs-vsctl set Interface vhost-user-2 options:n_txq=<requested queues>
> ```
> + Note: `n_rxq` should be equal to `n_txq`.
>
> QEMU needs to be configured as well.
> The $q below should match the queues requested in OVS (if $q is more,
As an FYI, the above hunk did not apply cleanly to INSTALL.DPDK.md for me.
Ryan
More information about the dev
mailing list