]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit970a192278d3c2932ceb7d6a9405abfc052678c9
tree6af2f15176372fbdfaa46f4e950b258d627c1d55
parentc5b9b59f14088ecd1c5d9cae5b5fd27409e3a87d
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