[ovs-dev] [dpdk patch 6/8] netdev-dpdk: Add function for configuring rx queues for all dpdk interfaces.

Pravin Shelar pshelar at nicira.com
Sat Aug 30 19:02:50 UTC 2014


On Mon, Aug 11, 2014 at 9:56 PM, Alex Wang <alexw at nicira.com> wrote:
> Later patch will use this function to configure rx queues.
>
> Signed-off-by: Alex Wang <alexw at nicira.com>
> ---
>  lib/netdev-dpdk.c |   42 +++++++++++++++++++++++++++++++++++++++++-
>  lib/netdev-dpdk.h |    7 +++++++
>  2 files changed, 48 insertions(+), 1 deletion(-)
>
> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
> index 012ee68..3013df5 100644
> --- a/lib/netdev-dpdk.c
> +++ b/lib/netdev-dpdk.c
> @@ -130,6 +130,8 @@ enum { DRAIN_TSC = 200000ULL };
>
>  static int rte_eal_init_ret = ENODEV;
>
> +static size_t dpdk_rx_queues OVS_GUARDED_BY(dpdk_mutex);
> +
There is no need to have this variable if netdev_open_multiq() accepts
number of rx and tx queues.



More information about the dev mailing list