From e5cf068ad18d27e989234d10b176061adc997b4c Mon Sep 17 00:00:00 2001 From: Sanjay Upadhyay Date: Fri, 28 Apr 2017 12:46:39 +0530 Subject: 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 --- etc/os-net-config/samples/ovs_dpdk.json | 1 + etc/os-net-config/samples/ovs_dpdk.yaml | 2 ++ 2 files changed, 3 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 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 -- cgit 1.2.3-korg