Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c454 if (attr->max_rd_atomic > rxe->attr.max_qp_rd_atom) { in rxe_qp_chk_attr()
456 attr->max_rd_atomic, in rxe_qp_chk_attr()
572 int max_rd_atomic = attr->max_rd_atomic ? in rxe_qp_from_attr() local
573 roundup_pow_of_two(attr->max_rd_atomic) : 0; in rxe_qp_from_attr()
575 qp->attr.max_rd_atomic = max_rd_atomic; in rxe_qp_from_attr()
576 atomic_set(&qp->req.rd_atomic, max_rd_atomic); in rxe_qp_from_attr()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_marshall.c123 dst->max_rd_atomic = src->max_rd_atomic; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c1674 resp.max_rd_atomic = attr->max_rd_atomic; in ib_uverbs_query_qp()
1857 attr->max_rd_atomic = cmd->base.max_rd_atomic; in modify_qp()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h452 __u8 max_rd_atomic; member
578 __u8 max_rd_atomic; member
608 __u8 max_rd_atomic; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h560 __u8 max_rd_atomic; member
709 __u8 max_rd_atomic; member
740 __u8 max_rd_atomic; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h425 __u8 max_rd_atomic; member
552 __u8 max_rd_atomic; member
582 __u8 max_rd_atomic; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c610 cmd->attrs.max_rd_atomic = attr->max_rd_atomic; in pvrdma_modify_qp()
1028 attr->max_rd_atomic = resp->attrs.max_rd_atomic; in pvrdma_query_qp()
Dpvrdma_verbs.h348 u8 max_rd_atomic; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c1059 ORD_LIMIT_TO_ORRQ_SLOTS(qp->max_rd_atomic); in bnxt_qplib_create_qp()
1176 if (qp->max_rd_atomic < 1) in __modify_flags_from_rtr_state()
1177 qp->max_rd_atomic = 1; in __modify_flags_from_rtr_state()
1308 req.max_rd_atomic = in bnxt_qplib_modify_qp()
1309 ORD_LIMIT_TO_ORRQ_SLOTS(qp->max_rd_atomic); in bnxt_qplib_modify_qp()
1399 qp->max_rd_atomic = ORRQ_SLOTS_TO_ORD_LIMIT(sb->max_rd_atomic); in bnxt_qplib_query_qp()
Dqplib_fp.h293 u32 max_rd_atomic; member
Dib_verbs.c1269 qplqp->max_rd_atomic = dev_attr->max_qp_rd_atom; in bnxt_re_init_qp_attr()
1985 qp->qplib_qp.max_rd_atomic = min_t(u32, qp_attr->max_rd_atomic, in bnxt_re_modify_qp()
2101 qp_attr->max_rd_atomic = qplib_qp->max_rd_atomic; in bnxt_re_query_qp()
Droce_hsi.h1293 u8 max_rd_atomic; member
2311 u8 max_rd_atomic; member
/kernel/linux/linux-5.10/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()
902 attr->max_rd_atomic > dev->limits.max_qp_init_rdma) { in mthca_modify_qp()
904 attr->max_rd_atomic, dev->limits.max_qp_init_rdma); in mthca_modify_qp()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_rdma_if.h411 u8 max_rd_atomic; member
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c94 qp_attr.max_rd_atomic = 1; /* # of outstanding RDMA reads and in smc_ib_modify_qp_rts()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1127 attr->max_rd_atomic > hr_dev->caps.max_qp_init_rdma) { in hns_roce_check_qp_attr()
1130 attr->max_rd_atomic); in hns_roce_check_qp_attr()
Dhns_roce_hw_v1.c748 attr.max_rd_atomic = 0; in hns_roce_v1_rsv_lp_qp()
3135 ilog2((unsigned int)attr->max_rd_atomic)); in hns_roce_v1_m_qp()
3364 qp_attr->max_rd_atomic = 0; in hns_roce_v1_q_sqp()
3491 qp_attr->max_rd_atomic = 1 << roce_get_field(context->qpc_bytes_156, in hns_roce_v1_q_qp()
Dhns_roce_hw_v2.c4677 if ((attr_mask & IB_QP_MAX_QP_RD_ATOMIC) && attr->max_rd_atomic) { in hns_roce_v2_set_opt_fields()
4680 fls(attr->max_rd_atomic - 1)); in hns_roce_v2_set_opt_fields()
4976 qp_attr->max_rd_atomic = 1 << roce_get_field(context.byte_208_irrl, in hns_roce_v2_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c2342 if (attr->max_rd_atomic) in __mlx4_ib_modify_qp()
2344 cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); in __mlx4_ib_modify_qp()
2743 attr->max_rd_atomic > dev->dev->caps.max_qp_init_rdma) { in _mlx4_ib_modify_qp()
2746 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c2647 if (attr->max_rd_atomic > dev->attr.max_qp_req_rd_atomic_resc) { in qedr_modify_qp()
2651 attr->max_rd_atomic, in qedr_modify_qp()
2658 qp_params.max_rd_atomic_req = attr->max_rd_atomic; in qedr_modify_qp()
2799 qp_attr->max_rd_atomic = params.max_rd_atomic; in qedr_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c3915 if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC && attr->max_rd_atomic) in __mlx5_ib_modify_qp()
3916 MLX5_SET(qpc, qpc, log_sra_max, ilog2(attr->max_rd_atomic)); in __mlx5_ib_modify_qp()
4356 attr->max_rd_atomic > in mlx5_ib_modify_qp()
4359 attr->max_rd_atomic); in mlx5_ib_modify_qp()
4596 qp_attr->max_rd_atomic = 1 << MLX5_GET(qpc, qpc, log_sra_max); in query_qp_attr()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c1689 qp->s_max_rd_atomic = attr->max_rd_atomic; in rvt_modify_qp()
1799 attr->max_rd_atomic = qp->s_max_rd_atomic; in rvt_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c524 qp_attr->max_rd_atomic = qp->attrs.irq_size; in siw_query_qp()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2660 if (attrs->max_rd_atomic > dev->attr.max_ord_per_qp) { in ocrdma_set_qp_params()
2664 qp->max_ord = attrs->max_rd_atomic; in ocrdma_set_qp_params()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c1244 out_params->max_rd_atomic = qp->max_rd_atomic_req; in qed_rdma_query_qp()

12