Home
last modified time | relevance | path

Searched refs:nr_cqe (Results 1 – 7 of 7) sorted by relevance

/linux/include/trace/events/
H A Drdma_core.h194 int nr_cqe,
199 TP_ARGS(cq, nr_cqe, comp_vector, poll_ctx),
203 __field(int, nr_cqe)
210 __entry->nr_cqe = nr_cqe;
216 __entry->cq_id, __entry->nr_cqe, __entry->comp_vector,
223 int nr_cqe,
229 TP_ARGS(nr_cqe, comp_vector, poll_ctx, rc),
233 __field(int, nr_cqe)
240 __entry->nr_cqe = nr_cqe;
246 __entry->nr_cqe, __entry->comp_vector,
/linux/drivers/infiniband/core/
H A Dcq.c212 struct ib_cq *__ib_alloc_cq(struct ib_device *dev, void *private, int nr_cqe, in __ib_alloc_cq() argument
217 .cqe = nr_cqe, 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()
428 struct ib_cq *ib_cq_pool_get(struct ib_device *dev, unsigned int nr_cqe, in ib_cq_pool_get() argument
466 if (cq->cqe_used + nr_cqe > cq->cqe) in ib_cq_pool_get()
473 found->cqe_used += nr_cqe; in ib_cq_pool_get()
484 ret = ib_alloc_cqs(dev, nr_cqe, poll_ctx); in ib_cq_pool_get()
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c232 static int create_cq(struct rtrs_con *con, int cq_vector, int nr_cqe, in create_cq() argument
239 cq = ib_alloc_cq(cm_id->device, con, nr_cqe, cq_vector, in create_cq()
242 cq = ib_cq_pool_get(cm_id->device, nr_cqe, cq_vector, poll_ctx); in create_cq()
250 con->nr_cqe = nr_cqe; in create_cq()
290 ib_cq_pool_put(con->cq, con->nr_cqe); in destroy_cq()
296 u32 max_send_sge, int cq_vector, int nr_cqe, in rtrs_cq_qp_create() argument
302 err = create_cq(con, cq_vector, nr_cqe, poll_ctx); in rtrs_cq_qp_create()
H A Drtrs-pri.h97 int nr_cqe; member
316 u32 max_send_sge, int cq_vector, int nr_cqe,
/linux/include/rdma/
H A Dib_verbs.h3894 struct ib_cq *__ib_alloc_cq(struct ib_device *dev, void *private, int nr_cqe,
3898 int nr_cqe, int comp_vector,
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()
3913 * @nr_cqe: Number of CQEs in the CQ
3917 void *private, int nr_cqe,
3920 return __ib_alloc_cq_any(dev, private, nr_cqe, poll_ctx,
4038 struct ib_cq *ib_cq_pool_get(struct ib_device *dev, unsigned int nr_cqe, in ib_uses_virt_dma()
4042 void ib_cq_pool_put(struct ib_cq *cq, unsigned int nr_cqe);
3884 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
3903 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/nvme/target/
H A Drdma.c1255 int nr_cqe, ret, i, factor; in nvmet_rdma_create_queue_ib() local
1260 nr_cqe = queue->recv_queue_size + 2 * queue->send_queue_size; in nvmet_rdma_create_queue_ib()
1262 queue->cq = ib_cq_pool_get(ndev->device, nr_cqe + 1, in nvmet_rdma_create_queue_ib()
1267 nr_cqe + 1, ret); in nvmet_rdma_create_queue_ib()
1324 ib_cq_pool_put(queue->cq, nr_cqe + 1); in nvmet_rdma_create_queue_ib()
/linux/drivers/nvme/host/
H A Dtcp.c155 unsigned int nr_cqe; member
619 queue->nr_cqe++; in nvme_tcp_process_nvme_cqe()
883 queue->nr_cqe++; in nvme_tcp_recv_data()
930 queue->nr_cqe++; in nvme_tcp_recv_ddgst()
1277 queue->nr_cqe = 0; in nvme_tcp_try_recv()
2629 return queue->nr_cqe; in nvme_tcp_poll()