summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSanjay Upadhyay <supadhya@redhat.com>2017-05-22 16:41:09 +0530
committerSanjay Upadhyay <supadhya@redhat.com>2017-05-23 18:15:30 +0530
commit2aa95a88109a96e24ea4329364a2ecc07fe575fd (patch)
tree167d49cfd55aecae2dd2cf8f1e36db35a94562dd /etc
parente7e81ac01122dd1b7711116d583a69fb655e0bca (diff)
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 <ksundara@redhat.com> implements: blueprint ovs-2-6-features-dpdk
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.json1
-rw-r--r--etc/os-net-config/samples/ovs_dpdk.yaml6
2 files changed, 7 insertions, 0 deletions
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