summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/ib_verbs.c
diff options
context:
space:
mode:
authorYangyang Li <liyangyang20@huawei.com>2021-01-07 11:36:29 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-01-18 23:10:32 +0300
commit1bbd4380744f637a759e0a7bb7d8d1c38282e0c3 (patch)
tree48be6b48ff4864d82ca721df400978177b11b5dd /drivers/infiniband/hw/bnxt_re/ib_verbs.c
parent33eb12f2966ef9c529ce7138711a9c150a17931e (diff)
downloadlinux-1bbd4380744f637a759e0a7bb7d8d1c38282e0c3.tar.xz
RDMA/hns: Create CQ with selected CQN for bank load balance
In order to improve performance by balancing the load between different banks of cache, the CQC cache is desigend to choose one of 4 banks according to lower 2 bits of CQN. The hns driver needs to count the number of CQ on each bank and then assigns the CQ being created to the bank with the minimum load first. Link: https://lore.kernel.org/r/1610008589-35770-1-git-send-email-liweihang@huawei.com Signed-off-by: Yangyang Li <liyangyang20@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/ib_verbs.c')
0 files changed, 0 insertions, 0 deletions