Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2988 rc = dev->ops->rdma_alloc_tid(dev->rdma_ctx, &mr->hw_mr.itid); in qedr_reg_user_mr()
2995 mr->hw_mr.tid_type = QED_RDMA_TID_REGISTERED_MR; in qedr_reg_user_mr()
2996 mr->hw_mr.key = 0; in qedr_reg_user_mr()
2997 mr->hw_mr.pd = pd->pd_id; in qedr_reg_user_mr()
2998 mr->hw_mr.local_read = 1; in qedr_reg_user_mr()
2999 mr->hw_mr.local_write = (acc & IB_ACCESS_LOCAL_WRITE) ? 1 : 0; in qedr_reg_user_mr()
3000 mr->hw_mr.remote_read = (acc & IB_ACCESS_REMOTE_READ) ? 1 : 0; in qedr_reg_user_mr()
3001 mr->hw_mr.remote_write = (acc & IB_ACCESS_REMOTE_WRITE) ? 1 : 0; in qedr_reg_user_mr()
3002 mr->hw_mr.remote_atomic = (acc & IB_ACCESS_REMOTE_ATOMIC) ? 1 : 0; in qedr_reg_user_mr()
3003 mr->hw_mr.mw_bind = false; in qedr_reg_user_mr()
[all …]
Dqedr.h486 struct qed_rdma_register_tid_in_params hw_mr; member