linux/drivers/infiniband/hw/hns
Lijun Ou 80596c6717 IB/hns: Modify the condition of notifying hardware loopback
This patch modified the condition of notifying hardware loopback.

In hip06, RoCE Engine has several ports, one QP is related
to one port. hardware only support loopback in the same port,
not in the different ports.

So, If QP related to port N, the dmac in the QP context equals
the smac of the local port N or the loop_idc is 1, we should
set loopback bit in QP context to notify hardware.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Salil Mehta  <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-03 14:20:42 -05:00
..
hns_roce_ah.c
hns_roce_alloc.c
hns_roce_cmd.c
hns_roce_cmd.h
hns_roce_common.h IB/hns: Add code for refreshing CQ CI using TPTR 2016-12-03 14:20:42 -05:00
hns_roce_cq.c IB/hns: Add code for refreshing CQ CI using TPTR 2016-12-03 14:20:42 -05:00
hns_roce_device.h IB/hns: Add code for refreshing CQ CI using TPTR 2016-12-03 14:20:42 -05:00
hns_roce_eq.c IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_eq.h IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn 2016-10-03 11:43:15 -04:00
hns_roce_hem.c IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_hem.h IB/hns: Fix bug of clear hem 2016-10-03 11:43:15 -04:00
hns_roce_hw_v1.c IB/hns: Modify the condition of notifying hardware loopback 2016-12-03 14:20:42 -05:00
hns_roce_hw_v1.h IB/hns: add self loopback for CM 2016-12-03 14:20:42 -05:00
hns_roce_main.c IB/hns: Add code for refreshing CQ CI using TPTR 2016-12-03 14:20:42 -05:00
hns_roce_mr.c IB/hns: Optimize the logic of allocating memory using APIs 2016-12-03 14:20:42 -05:00
hns_roce_pd.c IB/hns: Fix the bug when platform_get_resource() exec fail 2016-10-03 11:43:15 -04:00
hns_roce_qp.c IB/hns: Fix for removal of redundant code 2016-10-03 11:43:15 -04:00
hns_roce_user.h
Kconfig
Makefile