/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 126 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in free_rd_atomic_resources() 153 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in cleanup_rd_atomic_resources() 598 int max_dest_rd_atomic = attr->max_dest_rd_atomic ? in rxe_qp_from_attr() local 599 roundup_pow_of_two(attr->max_dest_rd_atomic) : 0; in rxe_qp_from_attr() 601 qp->attr.max_dest_rd_atomic = max_dest_rd_atomic; in rxe_qp_from_attr() 605 err = alloc_rd_atomic_resources(qp, max_dest_rd_atomic); in rxe_qp_from_attr()
|
D | rxe_loc.h | 169 if (unlikely(qp->resp.res_head == qp->attr.max_dest_rd_atomic)) in rxe_advance_resp_resource()
|
D | rxe_resp.c | 370 if (likely(qp->attr.max_dest_rd_atomic > 0)) in check_resource() 1042 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in find_resource()
|
/drivers/infiniband/core/ |
D | uverbs_marshall.c | 124 dst->max_dest_rd_atomic = src->max_dest_rd_atomic; in ib_copy_qp_attr_to_user()
|
D | uverbs_cmd.c | 1687 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp() 1876 attr->max_dest_rd_atomic = cmd->base.max_dest_rd_atomic; in modify_qp()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_qp.c | 603 cmd->attrs.max_dest_rd_atomic = attr->max_dest_rd_atomic; in pvrdma_modify_qp() 1021 attr->max_dest_rd_atomic = resp->attrs.max_dest_rd_atomic; in pvrdma_query_qp()
|
D | pvrdma_verbs.h | 314 u8 max_dest_rd_atomic; member
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 336 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() 912 attr->max_dest_rd_atomic > 1 << dev->qp_table.rdb_shift) { in mthca_modify_qp() 914 attr->max_dest_rd_atomic, 1 << dev->qp_table.rdb_shift); in mthca_modify_qp()
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.c | 1111 qp->max_dest_rd_atomic); in bnxt_qplib_create_qp() 1185 if (qp->max_dest_rd_atomic < 1) in __modify_flags_from_init_state() 1186 qp->max_dest_rd_atomic = 1; in __modify_flags_from_init_state() 1342 req.max_dest_rd_atomic = in bnxt_qplib_modify_qp() 1343 IRD_LIMIT_TO_IRRQ_SLOTS(qp->max_dest_rd_atomic); in bnxt_qplib_modify_qp() 1431 qp->max_dest_rd_atomic = in bnxt_qplib_query_qp() 1432 IRRQ_SLOTS_TO_IRD_LIMIT(sb->max_dest_rd_atomic); in bnxt_qplib_query_qp()
|
D | ib_verbs.c | 1277 qplqp->max_dest_rd_atomic = dev_attr->max_qp_init_rd_atom; in bnxt_re_init_qp_attr() 1987 if (qp_attr->max_dest_rd_atomic > in bnxt_re_modify_qp() 1991 qp_attr->max_dest_rd_atomic, in bnxt_re_modify_qp() 1998 qp->qplib_qp.max_dest_rd_atomic = qp_attr->max_dest_rd_atomic; in bnxt_re_modify_qp() 2097 qp_attr->max_dest_rd_atomic = qplib_qp->max_dest_rd_atomic; in bnxt_re_query_qp()
|
D | qplib_fp.h | 296 u32 max_dest_rd_atomic; member
|
D | roce_hsi.h | 1294 u8 max_dest_rd_atomic; member 2312 u8 max_dest_rd_atomic; member
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1699 dest_rd_atomic = attr->max_dest_rd_atomic; in to_mlx4_access_flags() 2354 if (attr->max_dest_rd_atomic) in __mlx4_ib_modify_qp() 2356 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); in __mlx4_ib_modify_qp() 2511 qp->resp_depth = attr->max_dest_rd_atomic; in __mlx4_ib_modify_qp() 2754 attr->max_dest_rd_atomic > dev->dev->caps.max_qp_dest_rdma) { in _mlx4_ib_modify_qp() 2757 ibqp->qp_num, attr->max_dest_rd_atomic, cur_state, in _mlx4_ib_modify_qp() 4035 qp_attr->max_dest_rd_atomic = in mlx4_ib_query_qp()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 1293 attr->max_dest_rd_atomic > hr_dev->caps.max_qp_dest_rdma) { in hns_roce_check_qp_attr() 1296 attr->max_dest_rd_atomic); in hns_roce_check_qp_attr()
|
D | hns_roce_hw_v1.c | 834 attr.max_dest_rd_atomic = 0; in hns_roce_v1_rsv_lp_qp() 2963 ilog2((unsigned int)attr->max_dest_rd_atomic)); in hns_roce_v1_m_qp() 3303 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v1_m_qp() 3434 qp_attr->max_dest_rd_atomic = 0; in hns_roce_v1_q_sqp() 3562 qp_attr->max_dest_rd_atomic = 1 << roce_get_field(context->qpc_bytes_32, in hns_roce_v1_q_qp()
|
D | hns_roce_hw_v2.c | 4024 attr->max_dest_rd_atomic : hr_qp->resp_depth; in set_access_flags() 4894 attr->max_dest_rd_atomic) { in hns_roce_v2_set_opt_fields() 4896 fls(attr->max_dest_rd_atomic - 1)); in hns_roce_v2_set_opt_fields() 4943 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v2_record_opt_fields() 5180 qp_attr->max_dest_rd_atomic = 1 << hr_reg_read(&context, QPC_RR_MAX); in hns_roce_v2_query_qp()
|
/drivers/infiniband/hw/mlx5/ |
D | qp.c | 3270 dest_rd_atomic = attr->max_dest_rd_atomic; in set_qpc_atomic_flags() 4190 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr->max_dest_rd_atomic) in __mlx5_ib_modify_qp() 4192 ilog2(attr->max_dest_rd_atomic)); in __mlx5_ib_modify_qp() 4308 qp->trans_qp.resp_depth = attr->max_dest_rd_atomic; in __mlx5_ib_modify_qp() 4555 attr->max_dest_rd_atomic > log_max_ra_req) { in validate_rd_atomic() 4557 attr->max_dest_rd_atomic); in validate_rd_atomic() 4879 qp_attr->max_dest_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_rra_max); in query_qp_attr()
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 2686 if (attr->max_dest_rd_atomic > in qedr_modify_qp() 2690 attr->max_dest_rd_atomic, in qedr_modify_qp() 2699 qp_params.max_rd_atomic_resp = attr->max_dest_rd_atomic; in qedr_modify_qp() 2809 qp_attr->max_dest_rd_atomic = params.max_dest_rd_atomic; in qedr_query_qp()
|
/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1526 if (attr->max_dest_rd_atomic > rdi->dparms.max_rdma_atomic) in rvt_modify_qp() 1631 qp->r_max_rd_atomic = attr->max_dest_rd_atomic; in rvt_modify_qp() 1746 attr->max_dest_rd_atomic = qp->r_max_rd_atomic; in rvt_query_qp()
|
/drivers/infiniband/hw/irdma/ |
D | verbs.c | 1058 attr->max_dest_rd_atomic = iwqp->roce_info.ird_size; in irdma_query_qp() 1258 if (attr->max_dest_rd_atomic > dev->hw_attrs.max_hw_ird) { in irdma_modify_qp_roce() 1265 if (attr->max_dest_rd_atomic) in irdma_modify_qp_roce() 1266 roce_info->ird_size = attr->max_dest_rd_atomic; in irdma_modify_qp_roce()
|
/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 523 qp_attr->max_dest_rd_atomic = qp->attrs.orq_size; in siw_query_qp()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 2668 if (attrs->max_dest_rd_atomic > dev->attr.max_ird_per_qp) { in ocrdma_set_qp_params() 2672 qp->max_ird = attrs->max_dest_rd_atomic; in ocrdma_set_qp_params()
|
D | ocrdma_verbs.c | 1529 qp_attr->max_dest_rd_atomic = in ocrdma_query_qp()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 1245 out_params->max_dest_rd_atomic = qp->max_rd_atomic_resp; in qed_rdma_query_qp()
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 1170 qp_attr.max_dest_rd_atomic = 4; in srpt_ch_qp_rtr()
|