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 --- os_net_config/impl_ifcfg.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'os_net_config/impl_ifcfg.py') diff --git a/os_net_config/impl_ifcfg.py b/os_net_config/impl_ifcfg.py index 18de8fc..d33ebd2 100644 --- a/os_net_config/impl_ifcfg.py +++ b/os_net_config/impl_ifcfg.py @@ -322,6 +322,11 @@ class IfcfgNetConfig(os_net_config.NetConfig): for member in base_opt.members: ovs_extra.append("set Interface %s mtu_request=$MTU" % member.name) + if base_opt.rx_queue: + data += "RX_QUEUE=%i\n" % base_opt.rx_queue + for member in base_opt.members: + ovs_extra.append("set Interface %s options:n_rxq=" + "$RX_QUEUE" % member.name) if base_opt.ovs_options: data += "OVS_OPTIONS=\"%s\"\n" % base_opt.ovs_options ovs_extra.extend(base_opt.ovs_extra) -- cgit 1.2.3-korg