diff options
Diffstat (limited to 'etc/os-net-config/samples')
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk.json | 1 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk.yaml | 6 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk_bond.json | 2 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk_bond.yaml | 10 |
4 files changed, 19 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 diff --git a/etc/os-net-config/samples/ovs_dpdk_bond.json b/etc/os-net-config/samples/ovs_dpdk_bond.json index 7964e69..410d459 100644 --- a/etc/os-net-config/samples/ovs_dpdk_bond.json +++ b/etc/os-net-config/samples/ovs_dpdk_bond.json @@ -6,6 +6,8 @@ { "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 2fcd4f3..17a73a3 100644 --- a/etc/os-net-config/samples/ovs_dpdk_bond.yaml +++ b/etc/os-net-config/samples/ovs_dpdk_bond.yaml @@ -13,6 +13,16 @@ network_config: - type: ovs_dpdk_bond 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 |