aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorYangyang Li <[email protected]>2020-11-24 20:24:09 +0800
committerJason Gunthorpe <[email protected]>2020-11-27 12:44:26 -0400
commit71586dd2001087e89e344e2c7dcee6b4a53bb6de (patch)
tree2aa85075e7d4df205637fd8039c1bd38d7f74a1c /net/lapb/lapb_subr.c
parent66f57b871efc576dfe8117b65af4e805e03ea689 (diff)
RDMA/hns: Create QP with selected QPN for bank load balance
In order to improve performance by balancing the load between different banks of cache, the QPC cache is desigend to choose one of 8 banks according to lower 3 bits of QPN. The hns driver needs to count the number of QP on each bank and then assigns the QP being created to the bank with the minimum load first. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yangyang Li <[email protected]> Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions