Home
last modified time | relevance | path

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

/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 …]
/drivers/infiniband/sw/rxe/
Drxe_srq.c110 srq->ibsrq.srq_context = init->srq_context; in rxe_srq_from_init()
Drxe_resp.c354 srq->ibsrq.event_handler(&ev, srq->ibsrq.srq_context); in get_srq_wqe()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c6031 struct hns_roce_srq_context *srq_context; in hns_roce_v2_write_srqc() local
6033 srq_context = mb_buf; in hns_roce_v2_write_srqc()
6034 memset(srq_context, 0, sizeof(*srq_context)); in hns_roce_v2_write_srqc()
6036 roce_set_field(srq_context->byte_4_srqn_srqst, SRQC_BYTE_4_SRQ_ST_M, in hns_roce_v2_write_srqc()
6039 roce_set_field(srq_context->byte_4_srqn_srqst, in hns_roce_v2_write_srqc()
6044 roce_set_field(srq_context->byte_4_srqn_srqst, in hns_roce_v2_write_srqc()
6048 roce_set_field(srq_context->byte_4_srqn_srqst, SRQC_BYTE_4_SRQN_M, in hns_roce_v2_write_srqc()
6051 roce_set_field(srq_context->byte_8_limit_wl, SRQC_BYTE_8_SRQ_LIMIT_WL_M, in hns_roce_v2_write_srqc()
6054 roce_set_field(srq_context->byte_12_xrcd, SRQC_BYTE_12_SRQ_XRCD_M, in hns_roce_v2_write_srqc()
6057 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()
/drivers/infiniband/hw/mlx4/
Dsrq.c68 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx4_ib_srq_event()
/drivers/infiniband/hw/mlx5/
Dsrq.c40 ibsrq->event_handler(&event, ibsrq->srq_context); in mlx5_ib_srq_event()
/drivers/infiniband/hw/mthca/
Dmthca_srq.c453 srq->ibsrq.event_handler(&event, srq->ibsrq.srq_context); in mthca_srq_event()
/drivers/infiniband/hw/qedr/
Dmain.c770 ibsrq->srq_context); in qedr_affiliated_event()
/drivers/infiniband/core/
Dverbs.c983 srq->srq_context = srq_init_attr->srq_context; in ib_create_srq()
Duverbs_cmd.c3418 attr.srq_context = attrs->ufile; in __uverbs_create_xsrq()
3438 srq->srq_context = attr.srq_context; in __uverbs_create_xsrq()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c384 ibsrq->event_handler(&e, ibsrq->srq_context); in pvrdma_srq_event()
/drivers/infiniband/hw/bnxt_re/
Dmain.c874 srq->ib_srq.srq_context); in bnxt_re_srqn_handler()
/drivers/infiniband/sw/siw/
Dsiw_verbs.c1849 base_srq->event_handler(&event, base_srq->srq_context); in siw_srq_event()
/drivers/infiniband/sw/rdmavt/
Dqp.c2478 handler(&ev, srq->ibsrq.srq_context); in rvt_get_rwqe()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c3040 .srq_context = (void *)sdev, in srpt_alloc_srq()
/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c793 srq_context); in ocrdma_dispatch_ibevent()