Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c108 dst->qp_access_flags = src->qp_access_flags; in ib_copy_qp_attr_to_user()
Diwcm.c1122 qp_attr->qp_access_flags = IB_ACCESS_REMOTE_WRITE| in iwcm_init_qp_init_attr()
Duverbs_cmd.c1673 resp.qp_access_flags = attr->qp_access_flags; in ib_uverbs_query_qp()
1859 attr->qp_access_flags = cmd->base.qp_access_flags; in modify_qp()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h544 __u32 qp_access_flags; member
701 __u32 qp_access_flags; member
732 __u32 qp_access_flags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h412 __u32 qp_access_flags; member
544 __u32 qp_access_flags; member
574 __u32 qp_access_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h440 __u32 qp_access_flags; member
570 __u32 qp_access_flags; member
600 __u32 qp_access_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c604 cmd->attrs.qp_access_flags = in pvrdma_modify_qp()
605 ib_access_flags_to_pvrdma(attr->qp_access_flags); in pvrdma_modify_qp()
1022 attr->qp_access_flags = in pvrdma_query_qp()
1023 pvrdma_access_flags_to_ib(resp->attrs.qp_access_flags); in pvrdma_query_qp()
Dpvrdma_verbs.h343 u32 qp_access_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_resp.c257 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_READ)) || in check_op_valid()
259 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_WRITE)) || in check_op_valid()
261 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) { in check_op_valid()
269 !(qp->attr.qp_access_flags & IB_ACCESS_REMOTE_WRITE)) { in check_op_valid()
Drxe_qp.c599 qp->attr.qp_access_flags = attr->qp_access_flags; in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c867 qp->qp_access_flags = 0; in rvt_init_qp()
1635 qp->qp_access_flags = attr->qp_access_flags; in rvt_modify_qp()
1784 attr->qp_access_flags = qp->qp_access_flags; in rvt_query_qp()
3076 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in rvt_ruc_loopback()
3089 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in rvt_ruc_loopback()
3105 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in rvt_ruc_loopback()
3123 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) in rvt_ruc_loopback()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c527 qp_attr->qp_access_flags = IB_ACCESS_LOCAL_WRITE | in siw_query_qp()
557 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in siw_verbs_modify_qp()
559 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in siw_verbs_modify_qp()
561 if (attr->qp_access_flags & IB_ACCESS_MW_BIND) in siw_verbs_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c819 attr.qp_access_flags = IB_ACCESS_REMOTE_WRITE; in hns_roce_v1_rsv_lp_qp()
2792 !!(attr->qp_access_flags & IB_ACCESS_REMOTE_READ)); in hns_roce_v1_m_qp()
2795 !!(attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in hns_roce_v1_m_qp()
2799 !!(attr->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC) in hns_roce_v1_m_qp()
2815 hr_qp->access_flags = attr->qp_access_flags; in hns_roce_v1_m_qp()
2849 !!(attr->qp_access_flags & in hns_roce_v1_m_qp()
2853 !!(attr->qp_access_flags & in hns_roce_v1_m_qp()
3427 qp_attr->qp_access_flags = 6; in hns_roce_v1_q_sqp()
3518 qp_attr->qp_access_flags = ((roce_get_bit(context->qpc_bytes_4, in hns_roce_v1_q_qp()
Dhns_roce_hw_v2.c3768 attr->qp_access_flags : hr_qp->atomic_rd_en; in set_access_flags()
3865 hr_qp->access_flags = attr->qp_access_flags; in modify_qp_reset_to_init()
3890 !!(attr->qp_access_flags & IB_ACCESS_REMOTE_READ)); in modify_qp_init_to_init()
3895 !!(attr->qp_access_flags & in modify_qp_init_to_init()
3901 !!(attr->qp_access_flags & in modify_qp_init_to_init()
3907 !!(attr->qp_access_flags & in modify_qp_init_to_init()
4743 hr_qp->atomic_rd_en = attr->qp_access_flags; in hns_roce_v2_record_opt_fields()
4953 qp_attr->qp_access_flags = ((roce_get_bit(context.byte_76_srqn_op_en, in hns_roce_v2_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c751 attr->qp_access_flags = 0; in i40iw_query_qp()
928 if (attr->qp_access_flags & IB_ACCESS_LOCAL_WRITE) in i40iw_modify_qp()
930 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in i40iw_modify_qp()
932 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in i40iw_modify_qp()
934 if (attr->qp_access_flags & IB_ACCESS_MW_BIND) in i40iw_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_uc.c410 if (unlikely(!(qp->qp_access_flags & in qib_uc_rcv()
Dqib_rc.c1894 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in qib_rc_rcv()
1941 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in qib_rc_rcv()
2013 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC))) in qib_rc_rcv()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c3049 access_flags = attr->qp_access_flags; in set_qpc_atomic_flags()
4037 qp->trans_qp.atomic_rd_en = attr->qp_access_flags; in __mlx5_ib_modify_qp()
4172 if (attr->qp_access_flags & IB_ACCESS_REMOTE_READ) in mlx5_ib_modify_dct()
4174 if (attr->qp_access_flags & IB_ACCESS_REMOTE_WRITE) in mlx5_ib_modify_dct()
4176 if (attr->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC) { in mlx5_ib_modify_dct()
4611 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_READ; in query_qp_attr()
4613 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_WRITE; in query_qp_attr()
4615 qp_attr->qp_access_flags |= IB_ACCESS_REMOTE_ATOMIC; in query_qp_attr()
4686 qp_attr->qp_access_flags = access_flags; in mlx5_ib_dct_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duc.c486 if (unlikely(!(qp->qp_access_flags & in hfi1_uc_rcv()
Drc.c3015 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_WRITE))) in hfi1_rc_rcv()
3061 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_READ))) in hfi1_rc_rcv()
3136 if (unlikely(!(qp->qp_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in hfi1_rc_rcv()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c51 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE in smc_ib_modify_qp_init()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_qp.h354 u8 qp_access_flags; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2529 qp_params.incoming_rdma_read_en = attr->qp_access_flags & in qedr_modify_qp()
2531 qp_params.incoming_rdma_write_en = attr->qp_access_flags & in qedr_modify_qp()
2533 qp_params.incoming_atomic_en = attr->qp_access_flags & in qedr_modify_qp()
2770 qp_attr->qp_access_flags = qedr_to_ib_qp_acc_flags(&params); in qedr_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dqp.c2390 attrs.enable_rdma_read = (attr->qp_access_flags & in c4iw_ib_modify_qp()
2392 attrs.enable_rdma_write = (attr->qp_access_flags & in c4iw_ib_modify_qp()
2394 attrs.enable_bind = (attr->qp_access_flags & IB_ACCESS_MW_BIND) ? 1 : 0; in c4iw_ib_modify_qp()

12