OSDN Git Service

RDMA/hns: Bugfix for reserved qp number
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:28 +0000 (17:00 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:17 +0000 (16:21 -0600)
commit06ef0ee4b569101f3a07ce08335dbf29fd1404ef
tree4bbb2fdd5444b09d51671a11c0f3145945f38497
parent38716732f161c3d107c4cc406a287f1201bed752
RDMA/hns: Bugfix for reserved qp number

It needs to include two special qps for every port. The hip08 have four
ports and the all reserved qp numbers are eight.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_qp.c