linux/drivers/infiniband/hw/hns
oulijun 0203b14c4f RDMA/hns: Unify the calculation for hem index in hip08
The calculation of hem index are different between hns_roce_table_get
and hns_roce_table_find. When the table chunk size of TRRL is not
divisible by object size, it will faile to find the trrl table.

This patch is to update the calculation of the hem index in the
hns_roce_table_find to the same as which in the hns_roce_table_get.

Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-11-10 12:32:18 -05:00
..
hns_roce_ah.c Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
hns_roce_alloc.c RDMA/hns: Support WQE/CQE/PBL page size configurable feature in hip08 2017-10-25 13:37:07 -04:00
hns_roce_cmd.c RDMA/hns: Add mailbox's implementation for hip08 RoCE driver 2017-09-27 08:34:55 -04:00
hns_roce_cmd.h RDMA/hns: Add rereg mr support for hip08 2017-11-10 12:14:27 -05:00
hns_roce_common.h RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_cq.c RDMA/hns: Support WQE/CQE/PBL page size configurable feature in hip08 2017-10-25 13:37:07 -04:00
hns_roce_device.h RDMA/hns: Configure TRRL field in hip08 RoCE device 2017-11-10 12:29:47 -05:00
hns_roce_eq.c IB/hns: Annotate iomem pointers correctly 2017-10-14 20:47:06 -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 RDMA/hns: Unify the calculation for hem index in hip08 2017-11-10 12:32:18 -05:00
hns_roce_hem.h RDMA/hns: Configure TRRL field in hip08 RoCE device 2017-11-10 12:29:47 -05:00
hns_roce_hw_v1.c RDMA/hns: Configure sgid type for hip08 RoCE 2017-11-10 12:14:27 -05:00
hns_roce_hw_v1.h RDMA/hns: Update the IRRL table chunk size in hip08 2017-10-25 13:37:07 -04:00
hns_roce_hw_v2.c RDMA/hns: Set the owner field of SQWQE in hip08 RoCE 2017-11-10 12:32:02 -05:00
hns_roce_hw_v2.h RDMA/hns: Add sq_invld_flg field in QP context 2017-11-10 12:31:52 -05:00
hns_roce_main.c RDMA/hns: Configure TRRL field in hip08 RoCE device 2017-11-10 12:29:47 -05:00
hns_roce_mr.c RDMA/hns: Add rereg mr support for hip08 2017-11-10 12:14:27 -05:00
hns_roce_pd.c RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_qp.c RDMA/hns: Configure TRRL field in hip08 RoCE device 2017-11-10 12:29:47 -05:00
Kconfig RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00
Makefile RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00