IB/hns: Add the interface for querying QP1
authorLijun Ou <oulijun@huawei.com>
Wed, 23 Nov 2016 19:40:59 +0000 (19:40 +0000)
committerDoug Ledford <dledford@redhat.com>
Sat, 3 Dec 2016 19:20:42 +0000 (14:20 -0500)
commit9eefa953f475897636f9290d833e45009d58a55d
tree2ec4bee56db7964b5e9bfda351781e596ca9555f
parente37a79e5d4cac3831fac3d4afbf2461f56b4b7bd
IB/hns: Add the interface for querying QP1

In old code, It only added the interface for querying non-specific
QP. This patch mainly adds an interface for querying QP1.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.h