IB/hns: Modify query info named port_num when querying RC QP
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Wed, 23 Nov 2016 19:41:06 +0000 (19:41 +0000)
committerDoug Ledford <dledford@redhat.com>
Sat, 3 Dec 2016 19:20:42 +0000 (14:20 -0500)
commitdd783a212c023b309e91ab9752c07e22f759461e
tree0054585652ae9a3e7a7660657f00fb58ae44f55c
parent6b877c32bc40bfa9fa13659ac4e1413b67ff1c3d
IB/hns: Modify query info named port_num when querying RC QP

This patch modified the output query info qp_attr->port_num
to fix bug in hip06.

Signed-off-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