linux/drivers/infiniband
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
..
core Merge branch 'k.o/for-rc' into k.o/for-next 2017-11-01 15:25:27 -04:00
hw RDMA/hns: Unify the calculation for hem index in hip08 2017-11-10 12:32:18 -05:00
sw IB/rxe: Convert timers to use timer_setup() 2017-10-25 15:24:49 -04:00
ulp IB/ipoib: Change number of TX wqe to 64 2017-10-25 13:36:50 -04:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00