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:42:33 +0200 |
commit | 31169fa8a763e36f6276632139da46b1aca3a7af (patch) | |
tree | 6505414499438a54d6048bc1f9264ddaeda4eab0 /smoketest/scripts/cli/test_protocols_isis.py | |
parent | d22f97af23abb5c12f8ea79c50fdda7ee0a3832d (diff) | |
download | vyos-1x-31169fa8a763e36f6276632139da46b1aca3a7af.tar.gz vyos-1x-31169fa8a763e36f6276632139da46b1aca3a7af.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!
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_isis.py')
0 files changed, 0 insertions, 0 deletions