kernel_samsung_a53x/drivers/infiniband/hw/hns
Chengchang Tang e3fb0ffbdc RDMA/hns: Fix CQ and QP cache affinity
commit 9e03dbea2b0634b21a45946b4f8097e0dc86ebe1 upstream.

Currently, the affinity between QP cache and CQ cache is not
considered when assigning QPN, it will affect the message rate of HW.

Allocate QPN from QP cache with better CQ affinity to get better
performance.

Fixes: 71586dd20010 ("RDMA/hns: Create QP with selected QPN for bank load balance")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20230804012711.808069-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 12:27:20 +01:00
..
hns_roce_ah.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_alloc.c RDMA/hns: Refactor the hns_roce_buf allocation flow 2024-11-19 12:26:58 +01:00
hns_roce_cmd.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_common.h RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_cq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_db.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_device.h RDMA/hns: Fix CQ and QP cache affinity 2024-11-19 12:27:20 +01:00
hns_roce_hem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_hem.h RDMA/hns: Use complete parentheses in macros 2024-11-19 12:26:59 +01:00
hns_roce_hw_v1.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_hw_v1.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_hw_v2.c RDMA/hns: Modify the print level of CQE error 2024-11-19 12:26:59 +01:00
hns_roce_hw_v2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_hw_v2_dfx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_main.c RDMA/hns: Fix incorrect symbol types 2024-11-19 12:26:58 +01:00
hns_roce_mr.c RDMA/hns: Fix return value in hns_roce_map_mr_sg 2024-11-19 12:26:59 +01:00
hns_roce_pd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_qp.c RDMA/hns: Fix CQ and QP cache affinity 2024-11-19 12:27:20 +01:00
hns_roce_restrack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns_roce_srq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00