5,322
edits
Line 794: | Line 794: | ||
sudo ethtool -K eno1 tso off | sudo ethtool -K eno1 tso off | ||
</pre> | </pre> | ||
< | To make this persist across reboots: | ||
{{hidden | Script | | |||
If you're using netplan (default for Ubuntu):<br> | |||
[https://michael.mulqueen.me.uk/2018/08/disable-offloading-netplan-ubuntu/ Reference]<br> | |||
<syntaxhighlight lang="bash"> | |||
output_path=/usr/lib/networkd-dispatcher/routable.d/10-disable-offloading | |||
sudo tee $output_path <<EOF> /dev/null | |||
#!/bin/bash | #!/bin/bash | ||
/ | ethtool -K eno1 tso off | ||
</ | EOF | ||
sudo chmod +x $output_path | |||
</syntaxhighlight> | |||
If using ifupdown: | |||
<syntaxhighlight lang="bash"> | |||
output_path=/etc/network/if-up.d/disable-tso | |||
sudo tee $output_path <<EOF> /dev/null | |||
#!/bin/bash | |||
ethtool -K eno1 tso off | |||
EOF | |||
sudo chmod +x $output_path | |||
</syntaxhighlight> | |||
}} |