Home
last modified time | relevance | path

Searched refs:qp_access_flags (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/infiniband/core/
Duverbs_marshall.c108 dst->qp_access_flags = src->qp_access_flags; in ib_copy_qp_attr_to_user()
Diwcm.c1121 qp_attr->qp_access_flags = IB_ACCESS_REMOTE_WRITE| in iwcm_init_qp_init_attr()
Duverbs_cmd.c1681 resp.qp_access_flags = attr->qp_access_flags; in ib_uverbs_query_qp()
1862 attr->qp_access_flags = cmd->base.qp_access_flags; in modify_qp()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c596 cmd->attrs.qp_access_flags = in pvrdma_modify_qp()
597 ib_access_flags_to_pvrdma(attr->qp_access_flags); in pvrdma_modify_qp()
1014 attr->qp_access_flags = in pvrdma_query_qp()
1015 pvrdma_access_flags_to_ib(resp->attrs.qp_access_flags); in pvrdma_query_qp()
Dpvrdma_verbs.h308 u32 qp_access_flags; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h544 __u32 qp_access_flags; member
687 __u32 qp_access_flags; member
718 __u32 qp_access_flags; member
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c830 qp->qp_access_flags = 0; in rvt_init_qp()
1584 qp->qp_access_flags = attr->qp_access_flags; in rvt_modify_qp()
1734 attr->qp_access_flags = qp->qp_access_flags; in rvt_query_qp()
3027 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in rvt_ruc_loopback()
3040 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in rvt_ruc_loopback()
3056 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in rvt_ruc_loopback()
3074 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) in rvt_ruc_loopback()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_resp.c262 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_READ)) || in check_op_valid()
264 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_WRITE)) || in check_op_valid()
266 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) { in check_op_valid()
274 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_WRITE)) { in check_op_valid()
Drxe_qp.c606 qp->attr.qp_access_flags = attr->qp_access_flags; in rxe_qp_from_attr()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c527 qp_attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE | in siw_query_qp()
560 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in siw_verbs_modify_qp()
562 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in siw_verbs_modify_qp()
564 if (attr->qp_access_flags & IB_ACCESS_MW_BIND) in siw_verbs_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_uc.c411 if (unlikely(!(qp->qp_access_flags & in qib_uc_rcv()
Dqib_rc.c1897 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in qib_rc_rcv()
1944 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in qib_rc_rcv()
2016 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) in qib_rc_rcv()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c1059 attr->qp_access_flags = irdma_get_ib_acc_flags(iwqp); in irdma_query_qp()
1281 if (attr->qp_access_flags & IB_ACCESS_LOCAL_WRITE) in irdma_modify_qp_roce()
1283 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in irdma_modify_qp_roce()
1285 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in irdma_modify_qp_roce()
1612 if (attr->qp_access_flags & IB_ACCESS_LOCAL_WRITE) in irdma_modify_qp()
1614 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in irdma_modify_qp()
1616 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in irdma_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duc.c440 if (unlikely(!(qp->qp_access_flags & in hfi1_uc_rcv()
Drc.c2974 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in hfi1_rc_rcv()
3020 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in hfi1_rc_rcv()
3095 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in hfi1_rc_rcv()
/linux-6.1.9/include/rdma/
Drdmavt_qp.h354 u8 qp_access_flags; member
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c3277 access_flags = attr->qp_access_flags; in set_qpc_atomic_flags()
4281 qp->trans_qp.atomic_rd_en = attr->qp_access_flags; in __mlx5_ib_modify_qp()
4416 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in mlx5_ib_modify_dct()
4418 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in mlx5_ib_modify_dct()
4420 if (attr->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC) { in mlx5_ib_modify_dct()
4848 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_READ; in query_qp_attr()
4850 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_WRITE; in query_qp_attr()
4852 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_ATOMIC; in query_qp_attr()
4924 qp_attr->qp_access_flags = access_flags; in mlx5_ib_dct_query_qp()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c341 access_flags = attr->qp_access_flags; in get_hw_access_flags()
473 qp_attr->qp_access_flags = in mthca_query_qp()
803 qp->atomic_rd_en = attr->qp_access_flags; in __mthca_modify_qp()
/linux-6.1.9/net/smc/
Dsmc_ib.c55 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE in smc_ib_modify_qp_init()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c2520 qp_params.incoming_rdma_read_en = attr->qp_access_flags & in qedr_modify_qp()
2522 qp_params.incoming_rdma_write_en = attr->qp_access_flags & in qedr_modify_qp()
2524 qp_params.incoming_atomic_en = attr->qp_access_flags & in qedr_modify_qp()
2761 qp_attr->qp_access_flags = qedr_to_ib_qp_acc_flags(&params); in qedr_query_qp()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dqp.c2381 attrs.enable_rdma_read = (attr->qp_access_flags & in c4iw_ib_modify_qp()
2383 attrs.enable_rdma_write = (attr->qp_access_flags & in c4iw_ib_modify_qp()
2385 attrs.enable_bind = (attr->qp_access_flags & IB_ACCESS_MW_BIND) ? 1 : 0; in c4iw_ib_modify_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1700 access_flags = attr->qp_access_flags; in to_mlx4_access_flags()
2505 qp->atomic_rd_en = attr->qp_access_flags; in __mlx4_ib_modify_qp()
4007 qp_attr->qp_access_flags = in mlx4_ib_query_qp()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1317 qp_attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE | in erdma_query_qp()
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1128 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE; in ipoib_cm_modify_tx_init()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2850 attr->qp_access_flags = IB_ACCESS_REMOTE_WRITE; in free_mr_modify_rsv_qp()
4362 attr->qp_access_flags : hr_qp->atomic_rd_en; in set_access_flags()
5270 hr_qp->atomic_rd_en = attr->qp_access_flags; in hns_roce_v2_record_opt_fields()
5482 qp_attr->qp_access_flags = in hns_roce_v2_query_qp()

12