Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 8 of 8) sorted by relevance

/include/linux/mlx5/
Dcq.h49 void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe);
57 void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe);
141 static inline void mlx5_cq_set_ci(struct mlx5_core_cq *cq) in mlx5_cq_set_ci() argument
143 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx5_cq_set_ci()
151 static inline void mlx5_cq_arm(struct mlx5_core_cq *cq, u32 cmd, in mlx5_cq_arm() argument
159 sn = cq->arm_sn & 3; in mlx5_cq_arm()
162 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
170 doorbell[1] = cpu_to_be32(cq->cqn); in mlx5_cq_arm()
175 static inline void mlx5_cq_hold(struct mlx5_core_cq *cq) in mlx5_cq_hold() argument
177 refcount_inc(&cq->refcount); in mlx5_cq_hold()
[all …]
/include/trace/events/
Drdma_core.h51 struct ib_cq *cq
54 TP_ARGS(cq),
61 cq->timestamp = ktime_get();
62 cq->interrupt = true;
64 __entry->cq_id = cq->res.id;
72 struct ib_cq *cq
75 TP_ARGS(cq),
82 cq->timestamp = ktime_get();
83 cq->interrupt = false;
85 __entry->cq_id = cq->res.id;
[all …]
/include/linux/mlx4/
Dcq.h147 static inline void mlx4_cq_arm(struct mlx4_cq *cq, u32 cmd, in mlx4_cq_arm() argument
155 sn = cq->arm_sn & 3; in mlx4_cq_arm()
156 ci = cq->cons_index & 0xffffff; in mlx4_cq_arm()
158 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm()
166 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
172 static inline void mlx4_cq_set_ci(struct mlx4_cq *cq) in mlx4_cq_set_ci() argument
174 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx4_cq_set_ci()
182 int mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq,
184 int mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq,
Ddevice.h831 int cq; member
1127 struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq,
1130 void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq);
/include/rdma/
Drdmavt_cq.h65 bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited);
Drdmavt_qp.h785 struct rvt_cq *cq = ibcq_to_rvtcq(qp->ibqp.recv_cq); in rvt_recv_cq() local
787 if (unlikely(!rvt_cq_enter(cq, wc, solicited))) in rvt_recv_cq()
805 struct rvt_cq *cq = ibcq_to_rvtcq(qp->ibqp.send_cq); in rvt_send_cq() local
807 if (unlikely(!rvt_cq_enter(cq, wc, solicited))) in rvt_send_cq()
922 struct rvt_cq *cq = ibcq_to_rvtcq(send_cq); in ib_cq_tail() local
925 RDMA_READ_UAPI_ATOMIC(cq->queue->tail) : in ib_cq_tail()
938 struct rvt_cq *cq = ibcq_to_rvtcq(send_cq); in ib_cq_head() local
941 RDMA_READ_UAPI_ATOMIC(cq->queue->head) : in ib_cq_head()
Dib_verbs.h737 struct ib_cq *cq; member
1054 struct ib_cq *cq; member
1352 void (*done)(struct ib_cq *cq, struct ib_wc *wc);
1555 typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
1607 struct ib_cq *cq; member
1654 struct ib_cq *cq; member
1674 struct ib_cq *cq; member
2324 int (*poll_cq)(struct ib_cq *cq, int num_entries, struct ib_wc *wc);
2325 int (*peek_cq)(struct ib_cq *cq, int wc_cnt);
2326 int (*req_notify_cq)(struct ib_cq *cq, enum ib_cq_notify_flags flags);
[all …]
/include/net/
Dxsk_buff_pool.h57 struct xsk_queue *cq; member