Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_qp.c120 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in free_rd_atomic_resources()
141 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in cleanup_rd_atomic_resources()
587 int max_dest_rd_atomic = attr->max_dest_rd_atomic ? in rxe_qp_from_attr() local
588 roundup_pow_of_two(attr->max_dest_rd_atomic) : 0; in rxe_qp_from_attr()
590 qp->attr.max_dest_rd_atomic = max_dest_rd_atomic; in rxe_qp_from_attr()
594 err = alloc_rd_atomic_resources(qp, max_dest_rd_atomic); in rxe_qp_from_attr()
Drxe_loc.h152 if (unlikely(qp->resp.res_head == qp->attr.max_dest_rd_atomic)) in rxe_advance_resp_resource()
Drxe_resp.c372 if (likely(qp->attr.max_dest_rd_atomic > 0)) in check_resource()
1106 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in find_resource()
/linux-6.1.9/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.c1686 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp()
1870 attr->max_dest_rd_atomic = cmd->base.max_dest_rd_atomic; in modify_qp()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c603 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()
Dpvrdma_verbs.h314 u8 max_dest_rd_atomic; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h561 __u8 max_dest_rd_atomic; member
696 __u8 max_dest_rd_atomic; member
727 __u8 max_dest_rd_atomic; member
/linux-6.1.9/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()
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-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1085 qp->max_dest_rd_atomic); in bnxt_qplib_create_qp()
1159 if (qp->max_dest_rd_atomic < 1) in __modify_flags_from_init_state()
1160 qp->max_dest_rd_atomic = 1; in __modify_flags_from_init_state()
1314 req.max_dest_rd_atomic = in bnxt_qplib_modify_qp()
1315 IRD_LIMIT_TO_IRRQ_SLOTS(qp->max_dest_rd_atomic); in bnxt_qplib_modify_qp()
1403 qp->max_dest_rd_atomic = in bnxt_qplib_query_qp()
1404 IRRQ_SLOTS_TO_IRD_LIMIT(sb->max_dest_rd_atomic); in bnxt_qplib_query_qp()
Dqplib_fp.h296 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()
1981 if (qp_attr->max_dest_rd_atomic > in bnxt_re_modify_qp()
1985 qp_attr->max_dest_rd_atomic, in bnxt_re_modify_qp()
1992 qp->qplib_qp.max_dest_rd_atomic = qp_attr->max_dest_rd_atomic; in bnxt_re_modify_qp()
2091 qp_attr->max_dest_rd_atomic = qplib_qp->max_dest_rd_atomic; in bnxt_re_query_qp()
Droce_hsi.h1299 u8 max_dest_rd_atomic; member
2317 u8 max_dest_rd_atomic; member
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h412 u8 max_dest_rd_atomic; member
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c1695 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-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1356 attr->max_dest_rd_atomic > hr_dev->caps.max_qp_dest_rdma) { in hns_roce_check_qp_attr()
1359 attr->max_dest_rd_atomic); in hns_roce_check_qp_attr()
Dhns_roce_hw_v2.c4359 attr->max_dest_rd_atomic : hr_qp->resp_depth; in set_access_flags()
5224 attr->max_dest_rd_atomic) { in hns_roce_v2_set_opt_fields()
5226 fls(attr->max_dest_rd_atomic - 1)); in hns_roce_v2_set_opt_fields()
5273 hr_qp->resp_depth = attr->max_dest_rd_atomic; in hns_roce_v2_record_opt_fields()
5508 qp_attr->max_dest_rd_atomic = 1 << hr_reg_read(&context, QPC_RR_MAX); in hns_roce_v2_query_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c3272 dest_rd_atomic = attr->max_dest_rd_atomic; in set_qpc_atomic_flags()
4165 if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC && attr->max_dest_rd_atomic) in __mlx5_ib_modify_qp()
4167 ilog2(attr->max_dest_rd_atomic)); in __mlx5_ib_modify_qp()
4283 qp->trans_qp.resp_depth = attr->max_dest_rd_atomic; in __mlx5_ib_modify_qp()
4531 attr->max_dest_rd_atomic > log_max_ra_req) { in validate_rd_atomic()
4533 attr->max_dest_rd_atomic); in validate_rd_atomic()
4855 qp_attr->max_dest_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_rra_max); in query_qp_attr()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c2668 if (attr->max_dest_rd_atomic > in qedr_modify_qp()
2672 attr->max_dest_rd_atomic, in qedr_modify_qp()
2681 qp_params.max_rd_atomic_resp = attr->max_dest_rd_atomic; in qedr_modify_qp()
2791 qp_attr->max_dest_rd_atomic = params.max_dest_rd_atomic; in qedr_query_qp()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c1528 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-6.1.9/net/smc/
Dsmc_ib.c87 qp_attr.max_dest_rd_atomic = 1; /* max # of resources for incoming in smc_ib_modify_qp_rtr()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c1071 attr->max_dest_rd_atomic = iwqp->roce_info.ird_size; in irdma_query_qp()
1269 if (attr->max_dest_rd_atomic > dev->hw_attrs.max_hw_ird) { in irdma_modify_qp_roce()
1276 if (attr->max_dest_rd_atomic) in irdma_modify_qp_roce()
1277 roce_info->ird_size = attr->max_dest_rd_atomic; in irdma_modify_qp_roce()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c525 qp_attr->max_dest_rd_atomic = qp->attrs.orq_size; in siw_query_qp()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2664 if (attrs->max_dest_rd_atomic > dev->attr.max_ird_per_qp) { in ocrdma_set_qp_params()
2668 qp->max_ird = attrs->max_dest_rd_atomic; in ocrdma_set_qp_params()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1315 qp_attr->max_dest_rd_atomic = qp->attrs.orq_size; in erdma_query_qp()

12