]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 28 Nov 2019 04:59:27 +0000 (23:59 -0500)
commit0d7f1388f200dc8937042c2e77c4fbde9fbb8dab
treee608d98e88bb1a5be7539e916115fe38aabab376
parent8cc3796b3b761262046c022cc0561308cd54c206
RDMA/hns: Bugfix for reserved qp number

BugLink: https://bugs.launchpad.net/bugs/1854216
[ Upstream commit 06ef0ee4b569101f3a07ce08335dbf29fd1404ef ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.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