]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f6f520a5161170ad0eb8602da0ec859d4a27e26
tree4bbb2fdd5444b09d51671a11c0f3145945f38497
parent5b36956320272930ccac5c6f9360aeb2efec02ed
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