Home
last modified time | relevance | path

Searched refs:max_dest_rd_atomic (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c115 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in free_rd_atomic_resources()
142 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in cleanup_rd_atomic_resources()
584 int max_dest_rd_atomic = attr->max_dest_rd_atomic ? in rxe_qp_from_attr() local
585 roundup_pow_of_two(attr->max_dest_rd_atomic) : 0; in rxe_qp_from_attr()
587 qp->attr.max_dest_rd_atomic = max_dest_rd_atomic; in rxe_qp_from_attr()
591 err = alloc_rd_atomic_resources(qp, max_dest_rd_atomic); in rxe_qp_from_attr()
Drxe_loc.h181 if (unlikely(qp->resp.res_head == qp->attr.max_dest_rd_atomic)) in rxe_advance_resp_resource()
Drxe_resp.c358 if (likely(qp->attr.max_dest_rd_atomic > 0)) in check_resource()
1032 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in find_resource()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c124 dst->max_dest_rd_atomic = src->max_dest_rd_atomic; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c1678 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp()
1862 attr->max_dest_rd_atomic = cmd->base.max_dest_rd_atomic; in modify_qp()
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h561 __u8 max_dest_rd_atomic; member
710 __u8 max_dest_rd_atomic; member
741 __u8 max_dest_rd_atomic; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h453 __u8 max_dest_rd_atomic; member
579 __u8 max_dest_rd_atomic; member
609 __u8 max_dest_rd_atomic; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h426 __u8 max_dest_rd_atomic; member
553 __u8 max_dest_rd_atomic; member
583 __u8 max_dest_rd_atomic; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c611 cmd->attrs.max_dest_rd_atomic = attr->max_dest_rd_atomic; in pvrdma_modify_qp()
1029 attr->max_dest_rd_atomic = resp->attrs.max_dest_rd_atomic; in pvrdma_query_qp()
Dpvrdma_verbs.h349 u8 max_dest_rd_atomic; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c336 dest_rd_atomic = attr->max_dest_rd_atomic; in get_hw_access_flags()
494 qp_attr->max_dest_rd_atomic = in mthca_query_qp()
743 if (attr->max_dest_rd_atomic) in __mthca_modify_qp()
745 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); in __mthca_modify_qp()
805 qp->resp_depth = attr->max_dest_rd_atomic; in __mthca_modify_qp()
909 attr->max_dest_rd_atomic > 1 << dev->qp_table.rdb_shift) { in mthca_modify_qp()
911 attr->max_dest_rd_atomic, 1 << dev->qp_table.rdb_shift); in mthca_modify_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1081 qp->max_dest_rd_atomic); in bnxt_qplib_create_qp()
1155 if (qp->max_dest_rd_atomic < 1) in __modify_flags_from_init_state()
1156 qp->max_dest_rd_atomic = 1; in __modify_flags_from_init_state()
1312 req.max_dest_rd_atomic = in bnxt_qplib_modify_qp()
1313 IRD_LIMIT_TO_IRRQ_SLOTS(qp->max_dest_rd_atomic); in bnxt_qplib_modify_qp()
1401 qp->max_dest_rd_atomic = in bnxt_qplib_query_qp()
1402 IRRQ_SLOTS_TO_IRD_LIMIT(sb->max_dest_rd_atomic); in bnxt_qplib_query_qp()
Dqplib_fp.h294 u32 max_dest_rd_atomic; member
Dib_verbs.c1270 qplqp->max_dest_rd_atomic = dev_attr->max_qp_init_rd_atom; in bnxt_re_init_qp_attr()
1993 if (qp_attr->max_dest_rd_atomic > in bnxt_re_modify_qp()
1997 qp_attr->max_dest_rd_atomic, in bnxt_re_modify_qp()
2004 qp->qplib_qp.max_dest_rd_atomic = qp_attr->max_dest_rd_atomic; in bnxt_re_modify_qp()
2103 qp_attr->max_dest_rd_atomic = qplib_qp->max_dest_rd_atomic; in bnxt_re_query_qp()
Droce_hsi.h1294 u8 max_dest_rd_atomic; member
2312 u8 max_dest_rd_atomic; member
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_rdma_if.h412 u8 max_dest_rd_atomic; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c1697 dest_rd_atomic = attr->max_dest_rd_atomic; in to_mlx4_access_flags()
2352 if (attr->max_dest_rd_atomic) in __mlx4_ib_modify_qp()
2354 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); in __mlx4_ib_modify_qp()
2509 qp->resp_depth = attr->max_dest_rd_atomic; in __mlx4_ib_modify_qp()
2752 attr->max_dest_rd_atomic > dev->dev->caps.max_qp_dest_rdma) { in _mlx4_ib_modify_qp()
2755 ibqp->qp_num, attr->max_dest_rd_atomic, cur_state, in _mlx4_ib_modify_qp()
4031 qp_attr->max_dest_rd_atomic = in mlx4_ib_query_qp()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c76 qp_attr.max_dest_rd_atomic = 1; /* max # of resources for incoming in smc_ib_modify_qp_rtr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1132 attr->max_dest_rd_atomic > hr_dev->caps.max_qp_dest_rdma) { in hns_roce_check_qp_attr()
1135 attr->max_dest_rd_atomic); in hns_roce_check_qp_attr()
Dhns_roce_hw_v1.c747 attr.max_dest_rd_atomic = 0; in hns_roce_v1_rsv_lp_qp()
2893 ilog2((unsigned int)attr->max_dest_rd_atomic)); in hns_roce_v1_m_qp()
3236 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v1_m_qp()
3365 qp_attr->max_dest_rd_atomic = 0; in hns_roce_v1_q_sqp()
3494 qp_attr->max_dest_rd_atomic = 1 << roce_get_field(context->qpc_bytes_32, in hns_roce_v1_q_qp()
Dhns_roce_hw_v2.c3766 attr->max_dest_rd_atomic : hr_qp->resp_depth; in set_access_flags()
4681 attr->max_dest_rd_atomic) { in hns_roce_v2_set_opt_fields()
4684 fls(attr->max_dest_rd_atomic - 1)); in hns_roce_v2_set_opt_fields()
4747 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v2_record_opt_fields()
4991 qp_attr->max_dest_rd_atomic = 1 << roce_get_field(context.byte_140_raq, in hns_roce_v2_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c3044 dest_rd_atomic = attr->max_dest_rd_atomic; in set_qpc_atomic_flags()
3921 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr->max_dest_rd_atomic) in __mlx5_ib_modify_qp()
3923 ilog2(attr->max_dest_rd_atomic)); in __mlx5_ib_modify_qp()
4039 qp->trans_qp.resp_depth = attr->max_dest_rd_atomic; in __mlx5_ib_modify_qp()
4287 attr->max_dest_rd_atomic > log_max_ra_req) { in validate_rd_atomic()
4289 attr->max_dest_rd_atomic); in validate_rd_atomic()
4618 qp_attr->max_dest_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_rra_max); in query_qp_attr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2677 if (attr->max_dest_rd_atomic > in qedr_modify_qp()
2681 attr->max_dest_rd_atomic, in qedr_modify_qp()
2690 qp_params.max_rd_atomic_resp = attr->max_dest_rd_atomic; in qedr_modify_qp()
2800 qp_attr->max_dest_rd_atomic = params.max_dest_rd_atomic; in qedr_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c1581 if (attr->max_dest_rd_atomic > rdi->dparms.max_rdma_atomic) in rvt_modify_qp()
1686 qp->r_max_rd_atomic = attr->max_dest_rd_atomic; in rvt_modify_qp()
1800 attr->max_dest_rd_atomic = qp->r_max_rd_atomic; in rvt_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c525 qp_attr->max_dest_rd_atomic = qp->attrs.orq_size; in siw_query_qp()

12