mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
RDMA/hns: Support to create 1M srq queue
In mhop 0 mode, 64*bt_num queues can be supported. In mhop 1 mode, 32K*bt_num queues can be supported. Config srqc_hop_num to 1 to support 1M SRQ queues. Signed-off-by: chenglang <chenglang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
d0b5c01bb4
commit
2b277dae06
@ -1560,7 +1560,7 @@ static int hns_roce_v2_profile(struct hns_roce_dev *hr_dev)
|
||||
caps->qpc_hop_num = HNS_ROCE_CONTEXT_HOP_NUM;
|
||||
caps->srqc_ba_pg_sz = 0;
|
||||
caps->srqc_buf_pg_sz = 0;
|
||||
caps->srqc_hop_num = HNS_ROCE_HOP_NUM_0;
|
||||
caps->srqc_hop_num = HNS_ROCE_CONTEXT_HOP_NUM;
|
||||
caps->cqc_ba_pg_sz = 0;
|
||||
caps->cqc_buf_pg_sz = 0;
|
||||
caps->cqc_hop_num = HNS_ROCE_CONTEXT_HOP_NUM;
|
||||
|
Loading…
Reference in New Issue
Block a user