dpif-netdev: Allow different numbers of rx queues for different ports.
authorIlya Maximets <i.maximets@samsung.com>
Thu, 21 Jan 2016 14:15:18 +0000 (17:15 +0300)
committerDaniele Di Proietto <diproiettod@vmware.com>
Fri, 5 Feb 2016 01:10:45 +0000 (17:10 -0800)
commita14b8947fd13d4c587addbffd24eedc7bb48ee2b
tree8e59ab248b5bc1b075bc5e01f83b7c4bd5cf6bfa
parent9d2d2b5cd2421369d08422be8a349de974b53301
dpif-netdev: Allow different numbers of rx queues for different ports.

Currently, all of the PMD netdevs can only have the same number of
rx queues, which is specified in other_config:n-dpdk-rxqs.

Fix that by introducing of new option for PMD interfaces: 'n_rxq', which
specifies the maximum number of rx queues to be created for this
interface.

Example:
ovs-vsctl set Interface dpdk0 options:n_rxq=8

Old 'other_config:n-dpdk-rxqs' deleted.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Ben Pfaff <blp@ovn.org>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
16 files changed:
INSTALL.DPDK.md
NEWS
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
lib/netdev-dpdk.c
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c
vswitchd/vswitch.xml