linux/drivers/infiniband/hw/hns
Wei Hu (Xavier) 5e6ff78a22 IB/hns: Change qpn allocation to round-robin mode.
When using CM to establish connections, qp number that was freed
just now will be rejected by ib core. To fix these problem, We
change qpn allocation to round-robin mode. We added the round-robin
mode for allocating resources using bitmap. We use round-robin mode
for qp number and non round-robing mode for other resources like
cq number, pd number etc.

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>
2016-12-03 14:20:42 -05:00
..
hns_roce_ah.c
hns_roce_alloc.c IB/hns: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_cmd.c
hns_roce_cmd.h IB/hns: Modify the macro for the timeout when cmd process 2016-12-03 14:20:42 -05:00
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: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_device.h IB/hns: Change qpn allocation to round-robin mode. 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 query info named port_num when querying RC QP 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: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_pd.c IB/hns: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_qp.c IB/hns: Change qpn allocation to round-robin mode. 2016-12-03 14:20:42 -05:00
hns_roce_user.h
Kconfig
Makefile