diff options
author | Shiraz Saleem <shiraz.saleem@intel.com> | 2022-11-04 18:49:57 -0500 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-11-07 09:12:42 +0200 |
commit | 4eace75e0853273755b878ffa9cce6de84df975a (patch) | |
tree | 7ba98ac7a156f56fbd83e2d7a3ca1e81b06cc973 /drivers/infiniband/hw/erdma | |
parent | abef378c434e6f5abd46fd536e9972374fb74e98 (diff) |
RDMA/irdma: Report the correct link speed
The active link speed is currently hard-coded in irdma_query_port due
to which the port rate in ibstatus does reflect the active link speed.
Call ib_get_eth_speed in irdma_query_port to get the active link speed.
Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Reported-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20221104234957.1135-1-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/erdma')
0 files changed, 0 insertions, 0 deletions