diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-28 17:42:33 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-28 17:45:36 +0200 |
commit | 4ab2e833c048ae896333d8bfce6a38a42c266c1e (patch) | |
tree | 1f571d390346ad46bd7ef209dbf5ef3e867eabbe /interface-definitions/vpn_l2tp.xml.in | |
parent | 4abf852917b51b32f3778ccb1074ed9cf42124b0 (diff) | |
download | vyos-1x-4ab2e833c048ae896333d8bfce6a38a42c266c1e.tar.gz vyos-1x-4ab2e833c048ae896333d8bfce6a38a42c266c1e.zip |
vyos.ifconfig: T3619: only set offloading options if supported by NIC
In the past we always told ethtool to change the offloading settings, even if
this was not supported by the underlaying driver.
This commit will only change the offloading options if they differ from the
current state of the NIC and only if it's supported by the NIC. If the NIC does
not support setting the offloading options, a message will be displayed
for the user:
vyos@vyos# set interfaces ethernet eth2 offload gro
vyos@vyos# commit
[ interfaces ethernet eth2 ]
Adapter does not support changing large-receive-offload settings!
(cherry picked from commit 31169fa8a763e36f6276632139da46b1aca3a7af)
Diffstat (limited to 'interface-definitions/vpn_l2tp.xml.in')
0 files changed, 0 insertions, 0 deletions