aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKarthik S <ksundara@redhat.com>2017-05-31 05:29:33 -0400
committerKarthik S <ksundara@redhat.com>2017-05-31 05:29:33 -0400
commitc8901b8ac34cf180c0a62c39a2b31def9c28aaf3 (patch)
tree00a625a3bd7100c0ac582a611d3d3c450f04c71f /etc
parentcc7ff987cae3452a28f85ca3cabef49a3a64a2ff (diff)
Multiqueue support for OvsDpdkBond
This patch allows the Multiqueue setting for DPDK bonds. In case of DPDK bonds, the Multiqueue setting needs to be done for each of the interfaces attached to the bond. Implements: blueprint ovs-2-6-features-dpdk Signed-off-by: Karthik S <ksundara@redhat.com> Change-Id: I21b46cee902a17f13df51d456648368e468aadb7
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/ovs_dpdk_bond.json1
-rw-r--r--etc/os-net-config/samples/ovs_dpdk_bond.yaml8
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk_bond.json b/etc/os-net-config/samples/ovs_dpdk_bond.json
index a921d60..410d459 100644
--- a/etc/os-net-config/samples/ovs_dpdk_bond.json
+++ b/etc/os-net-config/samples/ovs_dpdk_bond.json
@@ -7,6 +7,7 @@
"type" : "ovs_dpdk_bond",
"name" : "dpdkbond0",
"mtu" : 9000,
+ "rx_queue": 4,
"members": [
{
"type" : "ovs_dpdk_port",
diff --git a/etc/os-net-config/samples/ovs_dpdk_bond.yaml b/etc/os-net-config/samples/ovs_dpdk_bond.yaml
index 3fc9f7d..17a73a3 100644
--- a/etc/os-net-config/samples/ovs_dpdk_bond.yaml
+++ b/etc/os-net-config/samples/ovs_dpdk_bond.yaml
@@ -15,6 +15,14 @@ network_config:
name: dpdkbond0
# MTU is optional, e.g. for jumbo frames
mtu: 9000
+ # rx_queue is optional, used for multi-queue option. It configures the
+ # maximum number of queues for each interface associated with the
+ # ovs_dpdk_bond. If not defined, the physical interfaces will have
+ # single queue.
+ # (rx_queue) x (Number of members in the ovs_dpdk_bond) should be less
+ # than the number of PMD cores, as each queue will have one PMD thread
+ # (CPU) associated with it.
+ rx_queue: 4
members:
-
type: ovs_dpdk_port