Home
last modified time | relevance | path

Searched refs:max_rd_atomic (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_qp.c459 if (attr->max_rd_atomic > rxe->attr.max_qp_rd_atom) { in rxe_qp_chk_attr()
461 attr->max_rd_atomic, in rxe_qp_chk_attr()
579 int max_rd_atomic = attr->max_rd_atomic ? in rxe_qp_from_attr() local
580 roundup_pow_of_two(attr->max_rd_atomic) : 0; in rxe_qp_from_attr()
582 qp->attr.max_rd_atomic = max_rd_atomic; in rxe_qp_from_attr()
583 atomic_set(&qp->req.rd_atomic, max_rd_atomic); in rxe_qp_from_attr()
Drxe_req.c194 atomic_read(&qp->req.rd_atomic) != qp->attr.max_rd_atomic; in rxe_wqe_is_fenced()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_marshall.c123 dst->max_rd_atomic = src->max_rd_atomic; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c1685 resp.max_rd_atomic = attr->max_rd_atomic; in ib_uverbs_query_qp()
1868 attr->max_rd_atomic = cmd->base.max_rd_atomic; in modify_qp()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c602 cmd->attrs.max_rd_atomic = attr->max_rd_atomic; in pvrdma_modify_qp()
1020 attr->max_rd_atomic = resp->attrs.max_rd_atomic; in pvrdma_query_qp()
Dpvrdma_verbs.h313 u8 max_rd_atomic; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h560 __u8 max_rd_atomic; member
695 __u8 max_rd_atomic; member
726 __u8 max_rd_atomic; member
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1063 ORD_LIMIT_TO_ORRQ_SLOTS(qp->max_rd_atomic); in bnxt_qplib_create_qp()
1180 if (qp->max_rd_atomic < 1) in __modify_flags_from_rtr_state()
1181 qp->max_rd_atomic = 1; in __modify_flags_from_rtr_state()
1310 req.max_rd_atomic = in bnxt_qplib_modify_qp()
1311 ORD_LIMIT_TO_ORRQ_SLOTS(qp->max_rd_atomic); in bnxt_qplib_modify_qp()
1401 qp->max_rd_atomic = ORRQ_SLOTS_TO_ORD_LIMIT(sb->max_rd_atomic); in bnxt_qplib_query_qp()
Dqplib_fp.h295 u32 max_rd_atomic; member
Dib_verbs.c1269 qplqp->max_rd_atomic = dev_attr->max_qp_rd_atom; in bnxt_re_init_qp_attr()
1973 qp->qplib_qp.max_rd_atomic = min_t(u32, qp_attr->max_rd_atomic, in bnxt_re_modify_qp()
2089 qp_attr->max_rd_atomic = qplib_qp->max_rd_atomic; in bnxt_re_query_qp()
Droce_hsi.h1298 u8 max_rd_atomic; member
2316 u8 max_rd_atomic; member
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c492 qp_attr->max_rd_atomic = 1 << ((be32_to_cpu(context->params1) >> 21) & 0x7); in mthca_query_qp()
723 if (attr->max_rd_atomic) { in __mthca_modify_qp()
728 cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); in __mthca_modify_qp()
905 attr->max_rd_atomic > dev->limits.max_qp_init_rdma) { in mthca_modify_qp()
907 attr->max_rd_atomic, dev->limits.max_qp_init_rdma); in mthca_modify_qp()
/linux-6.1.9/include/linux/qed/
Dqed_rdma_if.h411 u8 max_rd_atomic; member
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1348 attr->max_rd_atomic > hr_dev->caps.max_qp_init_rdma) { in hns_roce_check_qp_attr()
1351 attr->max_rd_atomic); in hns_roce_check_qp_attr()
Dhns_roce_hw_v2.c5230 if ((attr_mask & IB_QP_MAX_QP_RD_ATOMIC) && attr->max_rd_atomic) { in hns_roce_v2_set_opt_fields()
5231 hr_reg_write(context, QPC_SR_MAX, fls(attr->max_rd_atomic - 1)); in hns_roce_v2_set_opt_fields()
5507 qp_attr->max_rd_atomic = 1 << hr_reg_read(&context, QPC_SR_MAX); in hns_roce_v2_query_qp()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c1070 attr->max_rd_atomic = iwqp->roce_info.ord_size; in irdma_query_qp()
1256 if (attr->max_rd_atomic > dev->hw_attrs.max_hw_ord) { in irdma_modify_qp_roce()
1259 attr->max_rd_atomic, in irdma_modify_qp_roce()
1263 if (attr->max_rd_atomic) in irdma_modify_qp_roce()
1264 roce_info->ord_size = attr->max_rd_atomic; in irdma_modify_qp_roce()
1272 attr->max_rd_atomic, in irdma_modify_qp_roce()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c2640 if (attr->max_rd_atomic > dev->attr.max_qp_req_rd_atomic_resc) { in qedr_modify_qp()
2644 attr->max_rd_atomic, in qedr_modify_qp()
2651 qp_params.max_rd_atomic_req = attr->max_rd_atomic; in qedr_modify_qp()
2792 qp_attr->max_rd_atomic = params.max_rd_atomic; in qedr_query_qp()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c2340 if (attr->max_rd_atomic) in __mlx4_ib_modify_qp()
2342 cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); in __mlx4_ib_modify_qp()
2741 attr->max_rd_atomic > dev->dev->caps.max_qp_init_rdma) { in _mlx4_ib_modify_qp()
2744 ibqp->qp_num, attr->max_rd_atomic, cur_state, in _mlx4_ib_modify_qp()
4029 qp_attr->max_rd_atomic = 1 << ((be32_to_cpu(context.params1) >> 21) & 0x7); in mlx4_ib_query_qp()
/linux-6.1.9/net/smc/
Dsmc_ib.c105 qp_attr.max_rd_atomic = 1; /* # of outstanding RDMA reads and in smc_ib_modify_qp_rts()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c4159 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr->max_rd_atomic) in __mlx5_ib_modify_qp()
4160 MLX5_SET(qpc, qpc, log_sra_max, ilog2(attr->max_rd_atomic)); in __mlx5_ib_modify_qp()
4524 attr->max_rd_atomic > log_max_ra_res) { in validate_rd_atomic()
4526 attr->max_rd_atomic); in validate_rd_atomic()
4854 qp_attr->max_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_sra_max); in query_qp_attr()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c1636 qp->s_max_rd_atomic = attr->max_rd_atomic; in rvt_modify_qp()
1747 attr->max_rd_atomic = qp->s_max_rd_atomic; in rvt_query_qp()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.c524 qp_attr->max_rd_atomic = qp->attrs.irq_size; in siw_query_qp()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2656 if (attrs->max_rd_atomic > dev->attr.max_ord_per_qp) { in ocrdma_set_qp_params()
2660 qp->max_ord = attrs->max_rd_atomic; in ocrdma_set_qp_params()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1314 qp_attr->max_rd_atomic = qp->attrs.irq_size; in erdma_query_qp()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c1217 out_params->max_rd_atomic = qp->max_rd_atomic_req; in qed_rdma_query_qp()

12