Home
last modified time | relevance | path

Searched refs:mtpt_idx (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c144 unsigned long mtpt_idx = key_to_hw_index(mr->key); in hns_roce_mr_enable() local
164 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mr_enable()
274 unsigned long mtpt_idx; in hns_roce_rereg_user_mr() local
284 mtpt_idx = key_to_hw_index(mr->key) & (hr_dev->caps.num_mtpts - 1); in hns_roce_rereg_user_mr()
287 mtpt_idx); in hns_roce_rereg_user_mr()
292 mtpt_idx); in hns_roce_rereg_user_mr()
323 mtpt_idx); in hns_roce_rereg_user_mr()
490 unsigned long mtpt_idx = key_to_hw_index(mw->rkey); in hns_roce_mw_enable() local
494 ret = hns_roce_table_get(hr_dev, &mr_table->mtpt_table, mtpt_idx); in hns_roce_mw_enable()
511 mtpt_idx & (hr_dev->caps.num_mtpts - 1)); in hns_roce_mw_enable()
[all …]