diff options
author | 2017-04-28 12:46:39 +0530 | |
---|---|---|
committer | 2017-04-28 20:38:03 +0530 | |
commit | e5cf068ad18d27e989234d10b176061adc997b4c (patch) | |
tree | 515a3d816d04965782f8b4de1b8a52f5a1a5d2d6 /etc | |
parent | 9d27aece869e7ded40b7719cae6e03c3c4c48ae9 (diff) |
Configure mtu value for DPDK port
MTU value is already written to ifcfg file if provided on the interface,
but for dpdk port, we have to apply this to ovs-vsctl command via ovs_extra.
This patch is adding the support to configure the given mtu vlaue to the
dpdk port using ovs_extra.
implements: blueprint ovs-2-6-features-dpdk
Change-Id: Ic01ed8cee2edbd648de0b64dc7f01da80c153d81
Diffstat (limited to 'etc')
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk.json | 1 | ||||
-rw-r--r-- | etc/os-net-config/samples/ovs_dpdk.yaml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/ovs_dpdk.json b/etc/os-net-config/samples/ovs_dpdk.json index aa6a321..37b79e0 100644 --- a/etc/os-net-config/samples/ovs_dpdk.json +++ b/etc/os-net-config/samples/ovs_dpdk.json @@ -7,6 +7,7 @@ "type": "ovs_dpdk_port", "name": "dpdk0", "driver": "igb_uio", + "mtu": 8192, "members": [ { "type": "interface", diff --git a/etc/os-net-config/samples/ovs_dpdk.yaml b/etc/os-net-config/samples/ovs_dpdk.yaml index f5af9ce..47fd3ab 100644 --- a/etc/os-net-config/samples/ovs_dpdk.yaml +++ b/etc/os-net-config/samples/ovs_dpdk.yaml @@ -14,6 +14,8 @@ network_config: name: dpdk0 # driver is optional argument, default driver is 'vfio-pci' driver: igb_uio + # MTU is optional, used for jumbo frames + mtu: 8192 members: - type: interface name: nic2 |