diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-10 16:47:42 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-10 17:01:29 +0200 |
commit | 7a264d9e17bd918c33879ba5cd70b00bb786726a (patch) | |
tree | e126cb699d4f13b8283acc03fed376ad7795cbe9 /src | |
parent | 2abf6711e880463b9d9276b2fa9ea7b4ebcdc179 (diff) | |
download | vyos-1x-7a264d9e17bd918c33879ba5cd70b00bb786726a.tar.gz vyos-1x-7a264d9e17bd918c33879ba5cd70b00bb786726a.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.
(cherry picked from commit e2b7e1766cc22c5cd718a5001be6336bdca92eec)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions