]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Support to create 1M srq queue
authorchenglang <chenglang@huawei.com>
Sun, 7 Apr 2019 05:23:37 +0000 (13:23 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Apr 2019 16:26:44 +0000 (13:26 -0300)
commited5932eb4a7b74e10628265c7d17be873761e8c4
tree5a19ec4d79b6c60eb68ffc37942ab0f885341bca
parent1af9caffab841e9b9ebb68d28a568721625d03be
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>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c