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

Go to the source code of this file.

Functions

void mlx4_qp_event (struct mlx4_dev *dev, u32 qpn, int event_type)
 
int mlx4_qp_modify (struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_modify)
 
int __mlx4_qp_reserve_range (struct mlx4_dev *dev, int cnt, int align, int *base)
 
int mlx4_qp_reserve_range (struct mlx4_dev *dev, int cnt, int align, int *base)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_reserve_range)
 
void __mlx4_qp_release_range (struct mlx4_dev *dev, int base_qpn, int cnt)
 
void mlx4_qp_release_range (struct mlx4_dev *dev, int base_qpn, int cnt)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_release_range)
 
int __mlx4_qp_alloc_icm (struct mlx4_dev *dev, int qpn)
 
void __mlx4_qp_free_icm (struct mlx4_dev *dev, int qpn)
 
int mlx4_qp_alloc (struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_alloc)
 
void mlx4_qp_remove (struct mlx4_dev *dev, struct mlx4_qp *qp)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_remove)
 
void mlx4_qp_free (struct mlx4_dev *dev, struct mlx4_qp *qp)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_free)
 
int mlx4_init_qp_table (struct mlx4_dev *dev)
 
void mlx4_cleanup_qp_table (struct mlx4_dev *dev)
 
int mlx4_qp_query (struct mlx4_dev *dev, struct mlx4_qp *qp, struct mlx4_qp_context *context)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_query)
 
int mlx4_qp_to_ready (struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_qp_context *context, struct mlx4_qp *qp, enum mlx4_qp_state *qp_state)
 
 EXPORT_SYMBOL_GPL (mlx4_qp_to_ready)
 

Function Documentation

int __mlx4_qp_alloc_icm ( struct mlx4_dev dev,
int  qpn 
)

Definition at line 276 of file qp.c.

void __mlx4_qp_free_icm ( struct mlx4_dev dev,
int  qpn 
)

Definition at line 333 of file qp.c.

void __mlx4_qp_release_range ( struct mlx4_dev dev,
int  base_qpn,
int  cnt 
)

Definition at line 246 of file qp.c.

int __mlx4_qp_reserve_range ( struct mlx4_dev dev,
int  cnt,
int  align,
int base 
)

Definition at line 210 of file qp.c.

EXPORT_SYMBOL_GPL ( mlx4_qp_modify  )
EXPORT_SYMBOL_GPL ( mlx4_qp_reserve_range  )
EXPORT_SYMBOL_GPL ( mlx4_qp_release_range  )
EXPORT_SYMBOL_GPL ( mlx4_qp_alloc  )
EXPORT_SYMBOL_GPL ( mlx4_qp_remove  )
EXPORT_SYMBOL_GPL ( mlx4_qp_free  )
EXPORT_SYMBOL_GPL ( mlx4_qp_query  )
EXPORT_SYMBOL_GPL ( mlx4_qp_to_ready  )
void mlx4_cleanup_qp_table ( struct mlx4_dev dev)

Definition at line 533 of file qp.c.

int mlx4_init_qp_table ( struct mlx4_dev dev)

Definition at line 420 of file qp.c.

int mlx4_qp_alloc ( struct mlx4_dev dev,
int  qpn,
struct mlx4_qp qp 
)

Definition at line 359 of file qp.c.

void mlx4_qp_event ( struct mlx4_dev dev,
u32  qpn,
int  event_type 
)

Definition at line 46 of file qp.c.

void mlx4_qp_free ( struct mlx4_dev dev,
struct mlx4_qp qp 
)

Definition at line 404 of file qp.c.

int mlx4_qp_modify ( struct mlx4_dev dev,
struct mlx4_mtt mtt,
enum mlx4_qp_state  cur_state,
enum mlx4_qp_state  new_state,
struct mlx4_qp_context context,
enum mlx4_qp_optpar  optpar,
int  sqd_event,
struct mlx4_qp qp 
)

Definition at line 199 of file qp.c.

int mlx4_qp_query ( struct mlx4_dev dev,
struct mlx4_qp qp,
struct mlx4_qp_context context 
)

Definition at line 542 of file qp.c.

void mlx4_qp_release_range ( struct mlx4_dev dev,
int  base_qpn,
int  cnt 
)

Definition at line 256 of file qp.c.

void mlx4_qp_remove ( struct mlx4_dev dev,
struct mlx4_qp qp 
)

Definition at line 393 of file qp.c.

int mlx4_qp_reserve_range ( struct mlx4_dev dev,
int  cnt,
int  align,
int base 
)

Definition at line 223 of file qp.c.

int mlx4_qp_to_ready ( struct mlx4_dev dev,
struct mlx4_mtt mtt,
struct mlx4_qp_context context,
struct mlx4_qp qp,
enum mlx4_qp_state qp_state 
)

Definition at line 563 of file qp.c.