"dev" <[email protected]> wrote on 05/12/2016 08:43:11 AM:

> From: Ilya Maximets <[email protected]>
> To: [email protected], Daniele Di Proietto <[email protected]>
> Cc: Dyasly Sergey <[email protected]>, Flavio Leitner
> <[email protected]>, Ilya Maximets <[email protected]>, Kevin
> Traynor <[email protected]>
> 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" <[email protected]>
>
> 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 <[email protected]>
> ---
>  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
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to