From c8901b8ac34cf180c0a62c39a2b31def9c28aaf3 Mon Sep 17 00:00:00 2001 From: Karthik S Date: Wed, 31 May 2017 05:29:33 -0400 Subject: 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 Change-Id: I21b46cee902a17f13df51d456648368e468aadb7 --- etc/os-net-config/samples/ovs_dpdk_bond.json | 1 + etc/os-net-config/samples/ovs_dpdk_bond.yaml | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'etc') 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 -- cgit 1.2.3-korg