mirror_ubuntu-kernels/drivers/infiniband/hw/hns
Yixing Liu 45baad7dd9 RDMA/hns: Remove the num_qpc_timer variable
The bt number of qpc_timer of HIP09 increases compared with that of HIP08.
Therefore, qpc_timer_bt_num and num_qpc_timer do not match. As a result,
the driver may fail to allocate qpc_timer. So the driver needs to uniquely
uses qpc_timer_bt_num to represent the bt number of qpc_timer.

Fixes: 0e40dc2f70 ("RDMA/hns: Add timer allocation support for hip08")
Link: https://lore.kernel.org/r/20220829105021.1427804-4-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-08-30 10:22:43 +03:00
..
hns_roce_ah.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Refactor the alloc_cqc() 2022-03-04 17:36:32 -04:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Remove the num_qpc_timer variable 2022-08-30 10:22:43 +03:00
hns_roce_hem.c RDMA/hns: Fix the wrong type of parameter "op" of the mailbox 2022-03-04 17:36:31 -04:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Refactor mailbox functions 2022-03-04 17:36:31 -04:00
hns_roce_hw_v2.c RDMA/hns: Remove the num_qpc_timer variable 2022-08-30 10:22:43 +03:00
hns_roce_hw_v2.h RDMA/hns: Remove the num_qpc_timer variable 2022-08-30 10:22:43 +03:00
hns_roce_main.c RDMA/hns: Remove the num_qpc_timer variable 2022-08-30 10:22:43 +03:00
hns_roce_mr.c RDMA/hns: Remove unnecessary ret variable from hns_roce_dereg_mr() 2022-05-04 21:16:51 -03:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift 2022-08-30 10:22:35 +03:00
hns_roce_restrack.c RDMA/hns: Use hr_reg_read() instead of remaining roce_get_xxx() 2022-05-12 14:16:28 -03:00
hns_roce_srq.c RDMA/hns: Refactor the alloc_srqc() 2022-03-04 17:36:32 -04:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00