OSDN Git Service

RDMA/hns: Set rdma_ah_attr type for querying qp
authorLijun Ou <oulijun@huawei.com>
Fri, 29 Sep 2017 15:10:11 +0000 (23:10 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 16:10:05 +0000 (12:10 -0400)
commit2bf910d4a23e94a3e2528b65365a5c4a102a3c8e
tree6af2f15176372fbdfaa46f4e950b258d627c1d55
parent512f4f1653e63b6efbdccb296b812fa809b7c95c
RDMA/hns: Set rdma_ah_attr type for querying qp

When querying qp, It needs to return RoCE device ah_attr type
that may be specific to RoCE devices.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@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_v2.c