From cbb97004477f68668dc16617dab17024c397fdfb Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 28 Nov 2017 15:31:44 -0600 Subject: [PATCH] Disable offloading in test by default We disable offloading in test for ubuntu this change does the same for suse and cent. This should help resolve network stability issues and kernel traces we've been seeing in the gate. Depends-On: Ia4856f36b2d106d987e3c774f31493e25a23d4b5 Change-Id: I6e8eaf7a668f140c1de4f541a414d13caf7d8b61 Signed-off-by: Kevin Carter --- network_interfaces/redhat_interface_default.cfg.j2 | 1 + network_interfaces/suse_interface_default.cfg.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/network_interfaces/redhat_interface_default.cfg.j2 b/network_interfaces/redhat_interface_default.cfg.j2 index 416bfbe9..25c2dfac 100644 --- a/network_interfaces/redhat_interface_default.cfg.j2 +++ b/network_interfaces/redhat_interface_default.cfg.j2 @@ -9,3 +9,4 @@ ONBOOT=yes BOOTPROTO=none NM_CONTROLLED=no DELAY=0 +ETHTOOL_OPTS="-K ${DEVICE} sg off" diff --git a/network_interfaces/suse_interface_default.cfg.j2 b/network_interfaces/suse_interface_default.cfg.j2 index 58d7d5e8..f0cc3770 100644 --- a/network_interfaces/suse_interface_default.cfg.j2 +++ b/network_interfaces/suse_interface_default.cfg.j2 @@ -6,3 +6,4 @@ IPADDR={{ item.ip_addr | default('10.1.0.1') }} NETMASK={{ item.netmask | default('255.255.255.0') }} STARTMODE='auto' BOOTPROTO='static' +ETHTOOL_OPTIONS_sg='-K iface sg off'