#include <linux/mlx4/cmd.h>
#include <linux/mlx4/srq.h>
#include <linux/export.h>
#include <linux/gfp.h>
#include "mlx4.h"
#include "icm.h"
void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type)
{ … }
static int mlx4_SW2HW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox,
int srq_num)
{ … }
static int mlx4_HW2SW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox,
int srq_num)
{ … }
static int mlx4_ARM_SRQ(struct mlx4_dev *dev, int srq_num, int limit_watermark)
{ … }
static int mlx4_QUERY_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox,
int srq_num)
{ … }
int __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn)
{ … }
static int mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn)
{ … }
void __mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn)
{ … }
static void mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn)
{ … }
int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd,
struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq)
{ … }
EXPORT_SYMBOL_GPL(…);
void mlx4_srq_free(struct mlx4_dev *dev, struct mlx4_srq *srq)
{ … }
EXPORT_SYMBOL_GPL(…);
int mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark)
{ … }
EXPORT_SYMBOL_GPL(…);
int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark)
{ … }
EXPORT_SYMBOL_GPL(…);
int mlx4_init_srq_table(struct mlx4_dev *dev)
{ … }
void mlx4_cleanup_srq_table(struct mlx4_dev *dev)
{ … }
struct mlx4_srq *mlx4_srq_lookup(struct mlx4_dev *dev, u32 srqn)
{ … }
EXPORT_SYMBOL_GPL(…);