uhd/mpm/python/usrp_mpm/sys_utils
mattprost 3d5d136534 mpm: Return 10 Gbs link speed on failure
The sysfs call used to determine link speed occasionally will fail and
return -1. In order to mitigate side effects from this behavior, return
10 Gbs link speed instead of 1 Gbs. This mitigates problems that occur
when this issue is seen on 10GbE ports. This approach was elected over
returning -1 to be handled on the host side in order to avoid breaking
mpm compatibility.

Signed-off-by: ettus <matt.prost@ni.com>
2020-09-01 15:19:30 -05:00
..
__init__.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
CMakeLists.txt uhd: mpm: update all license header w/ "-or-later" 2019-03-08 00:43:07 +01:00
dtoverlay.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
i2c_dev.py mpm: Add convenience function to pull i2c bus from device tree 2018-11-07 18:26:13 -08:00
net.py mpm: Return 10 Gbs link speed on failure 2020-09-01 15:19:30 -05:00
sysfs_gpio.py mpm: Fix documentation and minor issues in sys_utils.GPIOBank 2020-07-28 15:57:00 -05:00
sysfs_thermal.py mpm: sys_utils: Remove hardcoded 'subsystem' for temp sensor 2019-05-01 15:17:23 -07:00
udev.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
uio.py mpm: Make contextmanagers exception-safe 2020-03-03 15:16:06 -06:00
watchdog.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00