Home
last modified time | relevance | path

Searched refs:poll_ctx (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Dcq.c58 cq->poll_ctx == IB_POLL_DIRECT) in rdma_dim_init()
213 int comp_vector, enum ib_poll_context poll_ctx, in __ib_alloc_cq() argument
229 cq->poll_ctx = poll_ctx; in __ib_alloc_cq()
246 switch (cq->poll_ctx) { in __ib_alloc_cq()
261 cq->comp_wq = (cq->poll_ctx == IB_POLL_WORKQUEUE) ? in __ib_alloc_cq()
270 trace_cq_alloc(cq, nr_cqe, comp_vector, poll_ctx); in __ib_alloc_cq()
281 trace_cq_alloc_error(nr_cqe, comp_vector, poll_ctx, ret); in __ib_alloc_cq()
298 int nr_cqe, enum ib_poll_context poll_ctx, in __ib_alloc_cq_any() argument
309 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in __ib_alloc_cq_any()
327 switch (cq->poll_ctx) { in ib_free_cq()
[all …]
Dverbs.c2774 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_sq()
2808 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_rq()
Dnldev.c612 nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_POLL_CTX, cq->poll_ctx)) in fill_res_cq_entry()
/linux-6.1.9/include/trace/events/
Drdma_core.h196 enum ib_poll_context poll_ctx
199 TP_ARGS(cq, nr_cqe, comp_vector, poll_ctx),
205 __field(unsigned long, poll_ctx)
212 __entry->poll_ctx = poll_ctx;
217 rdma_show_ib_poll_ctx(__entry->poll_ctx)
225 enum ib_poll_context poll_ctx,
229 TP_ARGS(nr_cqe, comp_vector, poll_ctx, rc),
235 __field(unsigned long, poll_ctx)
242 __entry->poll_ctx = poll_ctx;
247 rdma_show_ib_poll_ctx(__entry->poll_ctx), __entry->rc
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs.c231 enum ib_poll_context poll_ctx) in create_cq() argument
238 poll_ctx); in create_cq()
240 cq = ib_cq_pool_get(cm_id->device, nr_cqe, cq_vector, poll_ctx); in create_cq()
296 enum ib_poll_context poll_ctx) in rtrs_cq_qp_create() argument
300 err = create_cq(con, cq_vector, nr_cqe, poll_ctx); in rtrs_cq_qp_create()
Drtrs-pri.h319 enum ib_poll_context poll_ctx);
/linux-6.1.9/include/rdma/
Dib_verbs.h1590 enum ib_poll_context poll_ctx; member
3857 int comp_vector, enum ib_poll_context poll_ctx,
3861 enum ib_poll_context poll_ctx) in ib_alloc_cq() argument
3863 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
3868 int nr_cqe, enum ib_poll_context poll_ctx,
3880 enum ib_poll_context poll_ctx) in ib_alloc_cq_any() argument
3882 return __ib_alloc_cq_any(dev, private, nr_cqe, poll_ctx, in ib_alloc_cq_any()
4002 enum ib_poll_context poll_ctx);
/linux-6.1.9/drivers/nvme/host/
Drdma.c467 enum ib_poll_context poll_ctx; in nvme_rdma_create_cq() local
477 poll_ctx = IB_POLL_DIRECT; in nvme_rdma_create_cq()
479 comp_vector, poll_ctx); in nvme_rdma_create_cq()
481 poll_ctx = IB_POLL_SOFTIRQ; in nvme_rdma_create_cq()
483 comp_vector, poll_ctx); in nvme_rdma_create_cq()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c4364 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
4385 switch (cq->poll_ctx) { in handle_drain_completion()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c5579 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion()
5600 switch (cq->poll_ctx) { in handle_drain_completion()