IB/hns: add self loopback for CM
authorLijun Ou <oulijun@huawei.com>
Wed, 23 Nov 2016 19:41:02 +0000 (19:41 +0000)
committerDoug Ledford <dledford@redhat.com>
Sat, 3 Dec 2016 19:20:42 +0000 (14:20 -0500)
commit543bfe6c3c1602d1781504047795a4266076233b
tree8e3ce112f3f34d26c20a20a52ebe8137b2803aa0
parent8d497eb0f325e98fa87b59ac86069deea64e8d5d
IB/hns: add self loopback for CM

This patch mainly adds self loopback support for CM.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Peter Chen <luck.chen@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