summaryrefslogtreecommitdiff
path: root/python/vyos/frr.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-28 17:42:33 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-28 17:42:33 +0200
commit31169fa8a763e36f6276632139da46b1aca3a7af (patch)
tree6505414499438a54d6048bc1f9264ddaeda4eab0 /python/vyos/frr.py
parentd22f97af23abb5c12f8ea79c50fdda7ee0a3832d (diff)
downloadvyos-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 'python/vyos/frr.py')
0 files changed, 0 insertions, 0 deletions