diff options
| author | Kamal Heib <[email protected]> | 2020-09-02 15:43:04 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-09-02 16:58:54 -0300 |
| commit | 28b0865714b315e318ac45c4fc9156f3d4649646 (patch) | |
| tree | 99a5ce29411ce1dc0b268c87c9fdc548dae35c9b /Documentation/filesystems/caching/netfs-api.rst | |
| parent | 8aa64be019567c4f90d45c5082a4b6f22e182d00 (diff) | |
RDMA/core: Fix reported speed and width
When the returned speed from __ethtool_get_link_ksettings() is
SPEED_UNKNOWN this will lead to reporting a wrong speed and width for
providers that uses ib_get_eth_speed(), fix that by defaulting the
netdev_speed to SPEED_1000 in case the returned value from
__ethtool_get_link_ksettings() is SPEED_UNKNOWN.
Fixes: d41861942fc5 ("IB/core: Add generic function to extract IB speed from netdev")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kamal Heib <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions