Home
last modified time | relevance | path

Searched refs:srq_context (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c167 struct mlx4_srq_context *srq_context; in mlx4_srq_alloc() local
187 srq_context = mailbox->buf; in mlx4_srq_alloc()
188 srq_context->state_logsize_srqn = cpu_to_be32((ilog2(srq->max) << 24) | in mlx4_srq_alloc()
190 srq_context->logstride = srq->wqe_shift - 4; in mlx4_srq_alloc()
191 srq_context->xrcd = cpu_to_be16(xrcd); in mlx4_srq_alloc()
192 srq_context->pg_offset_cqn = cpu_to_be32(cqn & 0xffffff); in mlx4_srq_alloc()
193 srq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; in mlx4_srq_alloc()
196 srq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_srq_alloc()
197 srq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_srq_alloc()
198 srq_context->pd = cpu_to_be32(pdn); in mlx4_srq_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_srq.c83 srq->ibsrq.srq_context = init->srq_context; in rxe_srq_from_init()
Drxe_resp.c327 srq->ibsrq.event_handler(&ev, srq->ibsrq.srq_context); in get_srq_wqe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c5139 struct hns_roce_srq_context *srq_context; in hns_roce_v2_write_srqc() local
5141 srq_context = mb_buf; in hns_roce_v2_write_srqc()
5142 memset(srq_context, 0, sizeof(*srq_context)); in hns_roce_v2_write_srqc()
5144 roce_set_field(srq_context->byte_4_srqn_srqst, SRQC_BYTE_4_SRQ_ST_M, in hns_roce_v2_write_srqc()
5147 roce_set_field(srq_context->byte_4_srqn_srqst, in hns_roce_v2_write_srqc()
5152 roce_set_field(srq_context->byte_4_srqn_srqst, in hns_roce_v2_write_srqc()
5156 roce_set_field(srq_context->byte_4_srqn_srqst, SRQC_BYTE_4_SRQN_M, in hns_roce_v2_write_srqc()
5159 roce_set_field(srq_context->byte_8_limit_wl, SRQC_BYTE_8_SRQ_LIMIT_WL_M, in hns_roce_v2_write_srqc()
5162 roce_set_field(srq_context->byte_12_xrcd, SRQC_BYTE_12_SRQ_XRCD_M, in hns_roce_v2_write_srqc()
5165 srq_context->wqe_bt_ba = cpu_to_le32((u32)(dma_handle_wqe >> 3)); in hns_roce_v2_write_srqc()
[all …]
Dhns_roce_srq.c58 ibsrq->event_handler(&event, ibsrq->srq_context); in hns_roce_ib_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsrq.c68 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx4_ib_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.c40 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_srq.c453 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dmain.c790 ibsrq->srq_context); in qedr_affiliated_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c384 ibsrq->event_handler(&e, ibsrq->srq_context); in pvrdma_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c1023 srq->srq_context = srq_init_attr->srq_context; in ib_create_srq_user()
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h1046 void *srq_context; member
1597 void *srq_context; member
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c1832 base_srq->event_handler(&event, base_srq->srq_context); in siw_srq_event()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dmain.c910 srq->ib_srq.srq_context); in bnxt_re_srqn_handler()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.c2487 handler(&ev, srq->ibsrq.srq_context); in rvt_get_rwqe()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c3036 .srq_context = (void *)sdev, in srpt_alloc_srq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c793 srq_context); in ocrdma_dispatch_ibevent()