Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
srq.c File Reference
#include <linux/init.h>
#include <linux/mlx4/cmd.h>
#include <linux/export.h>
#include <linux/gfp.h>
#include "mlx4.h"
#include "icm.h"

Go to the source code of this file.

Functions

void mlx4_srq_event (struct mlx4_dev *dev, u32 srqn, int event_type)
 
int __mlx4_srq_alloc_icm (struct mlx4_dev *dev, int *srqn)
 
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 (mlx4_srq_alloc)
 
void mlx4_srq_free (struct mlx4_dev *dev, struct mlx4_srq *srq)
 
 EXPORT_SYMBOL_GPL (mlx4_srq_free)
 
int mlx4_srq_arm (struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark)
 
 EXPORT_SYMBOL_GPL (mlx4_srq_arm)
 
int mlx4_srq_query (struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark)
 
 EXPORT_SYMBOL_GPL (mlx4_srq_query)
 
int mlx4_init_srq_table (struct mlx4_dev *dev)
 
void mlx4_cleanup_srq_table (struct mlx4_dev *dev)
 

Function Documentation

int __mlx4_srq_alloc_icm ( struct mlx4_dev dev,
int srqn 
)

Definition at line 96 of file srq.c.

void __mlx4_srq_free_icm ( struct mlx4_dev dev,
int  srqn 
)

Definition at line 141 of file srq.c.

EXPORT_SYMBOL_GPL ( mlx4_srq_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_srq_free  )
EXPORT_SYMBOL_GPL ( mlx4_srq_arm  )
EXPORT_SYMBOL_GPL ( mlx4_srq_query  )
void mlx4_cleanup_srq_table ( struct mlx4_dev dev)

Definition at line 295 of file srq.c.

int mlx4_init_srq_table ( struct mlx4_dev dev)

Definition at line 277 of file srq.c.

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 
)

Definition at line 165 of file srq.c.

int mlx4_srq_arm ( struct mlx4_dev dev,
struct mlx4_srq srq,
int  limit_watermark 
)

Definition at line 248 of file srq.c.

void mlx4_srq_event ( struct mlx4_dev dev,
u32  srqn,
int  event_type 
)

Definition at line 43 of file srq.c.

void mlx4_srq_free ( struct mlx4_dev dev,
struct mlx4_srq srq 
)

Definition at line 227 of file srq.c.

int mlx4_srq_query ( struct mlx4_dev dev,
struct mlx4_srq srq,
int limit_watermark 
)

Definition at line 254 of file srq.c.