mlx5_ib_cq
static inline struct mlx5_ib_cq *to_mibcq(struct mlx5_core_cq *mcq)
return container_of(mcq, struct mlx5_ib_cq, mcq);
static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq)
return container_of(ibcq, struct mlx5_ib_cq, ibcq);
void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq);
void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq);
struct mlx5_ib_cq *mcq = to_mcq(cq);
void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq)
void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq)
struct mlx5_ib_cq *mcq = to_mcq(cq);
static int resize_user(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq,
static void un_resize_user(struct mlx5_ib_cq *cq)
static int resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq,
static void un_resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq)
static int copy_resize_cqes(struct mlx5_ib_cq *cq)
struct mlx5_ib_cq *cq = to_mcq(ibcq);
struct mlx5_ib_cq *cq;
struct mlx5_ib_cq *cq = to_mcq(ibcq);
struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq);
static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries,
static int mlx5_poll_one(struct mlx5_ib_cq *cq,
static int poll_soft_wc(struct mlx5_ib_cq *cq, int num_entries,
struct mlx5_ib_cq *cq = to_mcq(ibcq);
static void *get_cqe(struct mlx5_ib_cq *cq, int n)
struct mlx5_ib_cq *cq = to_mcq(ibcq);
struct mlx5_ib_cq *cq, int entries, u32 **cqb,
static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n)
static void destroy_cq_user(struct mlx5_ib_cq *cq, struct ib_udata *udata)
static void init_cq_buf(struct mlx5_ib_cq *cq, struct mlx5_ib_cq_buf *buf)
static int create_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq,
static void destroy_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq)
struct mlx5_ib_cq *cq = container_of(work, struct mlx5_ib_cq,
struct mlx5_ib_cq *cq = to_mcq(ibcq);
static void *next_cqe_sw(struct mlx5_ib_cq *cq)
struct mlx5_ib_cq *send_mcq, *recv_mcq;
struct mlx5_ib_cq *send_cq;
struct mlx5_ib_cq *recv_cq;
static void mlx5_ib_lock_cqs(struct mlx5_ib_cq *send_cq, struct mlx5_ib_cq *recv_cq)
static void mlx5_ib_unlock_cqs(struct mlx5_ib_cq *send_cq, struct mlx5_ib_cq *recv_cq)
struct mlx5_ib_cq **send_cq, struct mlx5_ib_cq **recv_cq)
struct mlx5_ib_cq *send_cq, *recv_cq;
struct mlx5_ib_cq *send_cq, *recv_cq;
struct mlx5_ib_cq *cq;
static void mlx5_ib_lock_cqs(struct mlx5_ib_cq *send_cq,
struct mlx5_ib_cq *recv_cq);
static void mlx5_ib_unlock_cqs(struct mlx5_ib_cq *send_cq,
struct mlx5_ib_cq *recv_cq);
struct mlx5_ib_cq **send_cq, struct mlx5_ib_cq **recv_cq);