We have certain guests which perform badly until we disable certain offloading features such as TSO. We already disable GRO on physical uplink ports by calling 'ethtool -K ethX gro off' in /etc/rc.local but want to stop applying per VM customisations by disabling offload capabilities on the TAP interfaces.
Proxmox apparently already has hooks for this, could someone detail how we can get a script run with TAP interface names present either as environment variables or command line arguments?
This was we could structure a central script which does something similar to:
Proxmox apparently already has hooks for this, could someone detail how we can get a script run with TAP interface names present either as environment variables or command line arguments?
This was we could structure a central script which does something similar to:
Code:
[ `echo $tap | grep -c 'tap295i0'` -gt 0 ] && ethtool -K $tap tso off;