From 2aa95a88109a96e24ea4329364a2ecc07fe575fd Mon Sep 17 00:00:00 2001 From: Sanjay Upadhyay Date: Mon, 22 May 2017 16:41:09 +0530 Subject: Configure multi-queue value for DPDK Port The multi-queue option for DPDK is applied via ovs-vsctl command via ovs_extra params. This patch adds support for configuring the rx_queue (multi-queue) value to the DPDK Ports. Change-Id: Ib9faad5e9d49f78e3a0b45ef3ae0082f3e9d14a6 Co-Authored-By: Karthik S implements: blueprint ovs-2-6-features-dpdk --- etc/os-net-config/samples/ovs_dpdk.json | 1 + etc/os-net-config/samples/ovs_dpdk.yaml | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'etc') diff --git a/etc/os-net-config/samples/ovs_dpdk.json b/etc/os-net-config/samples/ovs_dpdk.json index 37b79e0..5c84044 100644 --- a/etc/os-net-config/samples/ovs_dpdk.json +++ b/etc/os-net-config/samples/ovs_dpdk.json @@ -8,6 +8,7 @@ "name": "dpdk0", "driver": "igb_uio", "mtu": 8192, + "rx_queue": 4, "members": [ { "type": "interface", diff --git a/etc/os-net-config/samples/ovs_dpdk.yaml b/etc/os-net-config/samples/ovs_dpdk.yaml index 47fd3ab..81aa212 100644 --- a/etc/os-net-config/samples/ovs_dpdk.yaml +++ b/etc/os-net-config/samples/ovs_dpdk.yaml @@ -16,6 +16,12 @@ network_config: driver: igb_uio # MTU is optional, used for jumbo frames mtu: 8192 + # rx_queue is optional, used for multi-queue option. It configures the + # maximum number of queues for a physical interface. If not defined, + # the physical interface will have single queue. The number of queues + # should be less than the PMD cores as each queue will have one PMD + # thread (CPU) associated with it. + rx_queue: 4 members: - type: interface name: nic2 -- cgit 1.2.3-korg