/linux/drivers/infiniband/core/ |
H A D | cq.c | 58 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 …]
|
H A D | verbs.c | 2858 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_sq() 2892 if (cq->poll_ctx == IB_POLL_DIRECT) in __ib_drain_rq()
|
H A D | nldev.c | 646 nla_put_u8(msg, RDMA_NLDEV_ATTR_RES_POLL_CTX, cq->poll_ctx)) in fill_res_cq_entry()
|
/linux/include/trace/events/ |
H A D | rdma_core.h | 196 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/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs.c | 233 enum ib_poll_context poll_ctx) in create_cq() argument 240 poll_ctx); in create_cq() 242 cq = ib_cq_pool_get(cm_id->device, nr_cqe, cq_vector, poll_ctx); in create_cq() 298 enum ib_poll_context poll_ctx) in rtrs_cq_qp_create() argument 302 err = create_cq(con, cq_vector, nr_cqe, poll_ctx); in rtrs_cq_qp_create()
|
H A D | rtrs-pri.h | 318 enum ib_poll_context poll_ctx);
|
/linux/include/rdma/ |
H A D | ib_verbs.h | 1602 enum ib_poll_context poll_ctx; member 3895 int comp_vector, enum ib_poll_context poll_ctx, 3899 enum ib_poll_context poll_ctx) 3901 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, 3906 int nr_cqe, enum ib_poll_context poll_ctx, in ib_alloc_cq_any() 3914 * @poll_ctx: Context used for polling the CQ 3918 enum ib_poll_context poll_ctx) 3920 return __ib_alloc_cq_any(dev, private, nr_cqe, poll_ctx, 4040 enum ib_poll_context poll_ctx); 3885 ib_alloc_cq(struct ib_device * dev,void * private,int nr_cqe,int comp_vector,enum ib_poll_context poll_ctx) ib_alloc_cq() argument 3904 ib_alloc_cq_any(struct ib_device * dev,void * private,int nr_cqe,enum ib_poll_context poll_ctx) ib_alloc_cq_any() argument
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 4403 if (cq->poll_ctx == IB_POLL_DIRECT) { in handle_drain_completion() 4424 switch (cq->poll_ctx) { in handle_drain_completion()
|