mlx5_ib_srq
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 = NULL;
struct mlx5_ib_srq *srq;
INIT_RDMA_OBJ_SIZE(ib_srq, mlx5_ib_srq, ibsrq),
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);
int mlx5_ib_read_wqe_srq(struct mlx5_ib_srq *srq, int wqe_index, void *buffer,
struct mlx5_ib_srq *srq,
static inline struct mlx5_ib_srq *res_to_srq(struct mlx5_core_rsc_common *res)
struct mlx5_ib_srq *srq = res_to_srq(res);
static int mlx5_ib_read_user_wqe_srq(struct mlx5_ib_srq *srq, int wqe_index,
int mlx5_ib_read_wqe_srq(struct mlx5_ib_srq *srq, int wqe_index, void *buffer,
static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq,
static void *get_wqe(struct mlx5_ib_srq *srq, int n)
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);
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,