OSDN Git Service

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)
commit2b277dae0679c8177f161278dbad035688838d6e
tree5a19ec4d79b6c60eb68ffc37942ab0f885341bca
parentd0b5c01bb446f87e94265b172c00f4e89829116d
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