/linux/drivers/infiniband/sw/rxe/ |
A 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() 596 int max_dest_rd_atomic = attr->max_dest_rd_atomic ? in rxe_qp_from_attr() local 597 roundup_pow_of_two(attr->max_dest_rd_atomic) : 0; in rxe_qp_from_attr() 599 qp->attr.max_dest_rd_atomic = max_dest_rd_atomic; in rxe_qp_from_attr() 603 err = alloc_rd_atomic_resources(qp, max_dest_rd_atomic); in rxe_qp_from_attr()
|
A D | rxe_loc.h | 170 if (unlikely(qp->resp.res_head == qp->attr.max_dest_rd_atomic)) in rxe_advance_resp_resource()
|
A D | rxe_resp.c | 370 if (likely(qp->attr.max_dest_rd_atomic > 0)) in check_resource() 1036 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in find_resource()
|
/linux/drivers/infiniband/core/ |
A D | uverbs_marshall.c | 124 dst->max_dest_rd_atomic = src->max_dest_rd_atomic; in ib_copy_qp_attr_to_user()
|
A D | uverbs_cmd.c | 1684 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp() 1868 attr->max_dest_rd_atomic = cmd->base.max_dest_rd_atomic; in modify_qp()
|
/linux/include/uapi/rdma/ |
A D | ib_user_verbs.h | 561 __u8 max_dest_rd_atomic; member 696 __u8 max_dest_rd_atomic; member 727 __u8 max_dest_rd_atomic; member
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A 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()
|
A D | pvrdma_verbs.h | 314 u8 max_dest_rd_atomic; member
|
/linux/drivers/infiniband/hw/mthca/ |
A 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()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_fp.c | 1084 qp->max_dest_rd_atomic); in bnxt_qplib_create_qp() 1158 if (qp->max_dest_rd_atomic < 1) in __modify_flags_from_init_state() 1159 qp->max_dest_rd_atomic = 1; in __modify_flags_from_init_state() 1315 req.max_dest_rd_atomic = in bnxt_qplib_modify_qp() 1316 IRD_LIMIT_TO_IRRQ_SLOTS(qp->max_dest_rd_atomic); in bnxt_qplib_modify_qp() 1404 qp->max_dest_rd_atomic = in bnxt_qplib_query_qp() 1405 IRRQ_SLOTS_TO_IRD_LIMIT(sb->max_dest_rd_atomic); in bnxt_qplib_query_qp()
|
A D | ib_verbs.c | 1271 qplqp->max_dest_rd_atomic = dev_attr->max_qp_init_rd_atom; in bnxt_re_init_qp_attr() 1982 if (qp_attr->max_dest_rd_atomic > in bnxt_re_modify_qp() 1986 qp_attr->max_dest_rd_atomic, in bnxt_re_modify_qp() 1993 qp->qplib_qp.max_dest_rd_atomic = qp_attr->max_dest_rd_atomic; in bnxt_re_modify_qp() 2092 qp_attr->max_dest_rd_atomic = qplib_qp->max_dest_rd_atomic; in bnxt_re_query_qp()
|
A D | qplib_fp.h | 296 u32 max_dest_rd_atomic; member
|
A D | roce_hsi.h | 1299 u8 max_dest_rd_atomic; member 2317 u8 max_dest_rd_atomic; member
|
/linux/include/linux/qed/ |
A D | qed_rdma_if.h | 412 u8 max_dest_rd_atomic; member
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | qp.c | 1695 dest_rd_atomic = attr->max_dest_rd_atomic; in to_mlx4_access_flags() 2350 if (attr->max_dest_rd_atomic) in __mlx4_ib_modify_qp() 2352 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); in __mlx4_ib_modify_qp() 2507 qp->resp_depth = attr->max_dest_rd_atomic; in __mlx4_ib_modify_qp() 2750 attr->max_dest_rd_atomic > dev->dev->caps.max_qp_dest_rdma) { in _mlx4_ib_modify_qp() 2753 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()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_qp.c | 1280 attr->max_dest_rd_atomic > hr_dev->caps.max_qp_dest_rdma) { in hns_roce_check_qp_attr() 1283 attr->max_dest_rd_atomic); in hns_roce_check_qp_attr()
|
A 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()
|
A D | hns_roce_hw_v2.c | 4035 attr->max_dest_rd_atomic : hr_qp->resp_depth; in set_access_flags() 4899 attr->max_dest_rd_atomic) { in hns_roce_v2_set_opt_fields() 4901 fls(attr->max_dest_rd_atomic - 1)); in hns_roce_v2_set_opt_fields() 4948 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v2_record_opt_fields() 5183 qp_attr->max_dest_rd_atomic = 1 << hr_reg_read(&context, QPC_RR_MAX); in hns_roce_v2_query_qp()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | qp.c | 3270 dest_rd_atomic = attr->max_dest_rd_atomic; in set_qpc_atomic_flags() 4163 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr->max_dest_rd_atomic) in __mlx5_ib_modify_qp() 4165 ilog2(attr->max_dest_rd_atomic)); in __mlx5_ib_modify_qp() 4281 qp->trans_qp.resp_depth = attr->max_dest_rd_atomic; in __mlx5_ib_modify_qp() 4598 attr->max_dest_rd_atomic > in mlx5_ib_modify_qp() 4601 attr->max_dest_rd_atomic); in mlx5_ib_modify_qp() 4831 qp_attr->max_dest_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_rra_max); in query_qp_attr()
|
/linux/drivers/infiniband/hw/qedr/ |
A D | verbs.c | 2663 if (attr->max_dest_rd_atomic > in qedr_modify_qp() 2667 attr->max_dest_rd_atomic, in qedr_modify_qp() 2676 qp_params.max_rd_atomic_resp = attr->max_dest_rd_atomic; in qedr_modify_qp() 2786 qp_attr->max_dest_rd_atomic = params.max_dest_rd_atomic; in qedr_query_qp()
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | qp.c | 1528 if (attr->max_dest_rd_atomic > rdi->dparms.max_rdma_atomic) in rvt_modify_qp() 1633 qp->r_max_rd_atomic = attr->max_dest_rd_atomic; in rvt_modify_qp() 1748 attr->max_dest_rd_atomic = qp->r_max_rd_atomic; in rvt_query_qp()
|
/linux/net/smc/ |
A D | smc_ib.c | 85 qp_attr.max_dest_rd_atomic = 1; /* max # of resources for incoming in smc_ib_modify_qp_rtr()
|
/linux/drivers/infiniband/hw/irdma/ |
A D | verbs.c | 1068 attr->max_dest_rd_atomic = iwqp->roce_info.ird_size; in irdma_query_qp() 1252 if (attr->max_dest_rd_atomic > dev->hw_attrs.max_hw_ird) { in irdma_modify_qp_roce() 1259 if (attr->max_dest_rd_atomic) in irdma_modify_qp_roce() 1260 roce_info->ird_size = attr->max_dest_rd_atomic; in irdma_modify_qp_roce()
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw_verbs.c | 520 qp_attr->max_dest_rd_atomic = qp->attrs.orq_size; in siw_query_qp()
|
/linux/drivers/infiniband/hw/ocrdma/ |
A 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()
|