server1-network: disable hw offloading

causes warnings in hfsc and interferes with packet timing.
This commit is contained in:
Astro 2017-01-18 01:12:27 +01:00
parent 8e174cdcf5
commit 195c5a07d7
1 changed files with 2 additions and 0 deletions

View File

@ -5,4 +5,6 @@ F=/sys/class/net/$IFACE/bonding/slaves
for slave in `cat "$F"`; do
ip link set $slave up
# Disable offloading as it interferes with shaping
ethtool -K gso off gro off tso off $slave
done