diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-12 21:42:32 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-05-12 21:42:32 +0200 |
commit | aea89228d8c14ae0a11c5506a9c636200be97cfb (patch) | |
tree | a7acb7c7a83632a1bcd25fb3e25fed34851264dc /src/conf_mode/protocols_failover.py | |
parent | ace81a498fe6b846b07ff2b3cb83cc5dea42b263 (diff) | |
download | vyos-1x-aea89228d8c14ae0a11c5506a9c636200be97cfb.tar.gz vyos-1x-aea89228d8c14ae0a11c5506a9c636200be97cfb.zip |
ethernet: T3891: add conditional code-path when doing speed/duplex changes
There is no need for the backend code to call ethtool and try to change speed or
duplex settings every time there is a change in the interface configuration,
but no change for the speed/duplex subnodes. This also makes the commit itself
faster when working with ethernet interfaces.
Bonus: no repeating CLI messages that the driver does not support speed/duplex
changes, as we do not change anything here.
Extension to commit f2ecc9710 ("ethernet: T3891: honor auto-negotiation support
per NIC")
Diffstat (limited to 'src/conf_mode/protocols_failover.py')
0 files changed, 0 insertions, 0 deletions