diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-10 16:47:42 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-10 16:49:53 +0200 |
commit | e2b7e1766cc22c5cd718a5001be6336bdca92eec (patch) | |
tree | 63af551f9e315c72dd1dc3142b47ab9822765caf /src/conf_mode/lldp.py | |
parent | 07840977834816b69fa3b366817d90f44b5dc7a7 (diff) | |
download | vyos-1x-e2b7e1766cc22c5cd718a5001be6336bdca92eec.tar.gz vyos-1x-e2b7e1766cc22c5cd718a5001be6336bdca92eec.zip |
ethernet: T3802: not all NICs support reading speed/duplex settings in all states
Turns out an AX88179 USB 3.0 NIC does not support reading back the speed and
duplex settings in every operating state. While the NIC is beeing
initialized, reading the speed setting will return:
$ cat /sys/class/net/eth6/speed
cat: /sys/class/net/eth6/speed: Invalid argument
Thus if this happens, we simply tell the system that the current NIC speed
matches the requested speed and nothing is changed at this point in time.
Diffstat (limited to 'src/conf_mode/lldp.py')
0 files changed, 0 insertions, 0 deletions