diff options
author | Kamal Heib <kheib@redhat.com> | 2023-05-29 18:35:26 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-06-02 02:01:29 +0300 |
commit | 18e7e3e4217083a682e2c7282011c70c8a1ba070 (patch) | |
tree | 90bd771886eb493184d34ac5c7192f48e0e57974 /drivers/infiniband/sw | |
parent | b00683422fd79dd07c9b75efdce1660e5e19150e (diff) | |
download | linux-18e7e3e4217083a682e2c7282011c70c8a1ba070.tar.xz |
RDMA/bnxt_re: Fix reporting active_{speed,width} attributes
After commit 6d758147c7b8 ("RDMA/bnxt_re: Use auxiliary driver interface")
the active_{speed, width} attributes are reported incorrectly, This is
happening because ib_get_eth_speed() is called only once from
bnxt_re_ib_init() - Fix this issue by calling ib_get_eth_speed() from
bnxt_re_query_port().
Fixes: 6d758147c7b8 ("RDMA/bnxt_re: Use auxiliary driver interface")
Link: https://lore.kernel.org/r/20230529153525.87254-1-kheib@redhat.com
Signed-off-by: Kamal Heib <kheib@redhat.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions