mlx5_ib_srq
static inline struct mlx5_ib_srq *to_msrq(struct ib_srq *ibsrq)
return container_of(ibsrq, struct mlx5_ib_srq, ibsrq);
static inline struct mlx5_ib_srq *to_mibsrq(struct mlx5_core_srq *msrq)
return container_of(msrq, struct mlx5_ib_srq, msrq);
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);
void mlx5_ib_free_srq_wqe(struct mlx5_ib_srq *srq, int wqe_index);
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_srq *srq;
struct mlx5_ib_srq *srq;
static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq,
static void destroy_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq,
static void destroy_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq)
struct mlx5_ib_srq *srq = to_msrq(ib_srq);
struct mlx5_ib_srq *srq = to_msrq(ibsrq);
struct mlx5_ib_srq *srq = to_msrq(ibsrq);
static void *get_wqe(struct mlx5_ib_srq *srq, int n)
struct mlx5_ib_srq *msrq = to_msrq(srq);
void mlx5_ib_free_srq_wqe(struct mlx5_ib_srq *srq, int wqe_index)
struct mlx5_ib_srq *srq = to_msrq(ibsrq);
static int create_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq,