Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
qp.c File Reference
#include <linux/module.h>
#include "iw_cxgb4.h"

Go to the source code of this file.

Functions

 module_param (db_delay_usecs, int, 0644)
 
 MODULE_PARM_DESC (db_delay_usecs,"Usecs to delay awaiting db fifo to drain")
 
 module_param (ocqp_support, int, 0644)
 
 MODULE_PARM_DESC (ocqp_support,"Support on-chip SQs (default=1)")
 
 module_param (db_fc_threshold, int, 0644)
 
 MODULE_PARM_DESC (db_fc_threshold,"QP count/threshold that triggers automatic ""db flow control mode (default = 2000)")
 
void c4iw_qp_add_ref (struct ib_qp *qp)
 
void c4iw_qp_rem_ref (struct ib_qp *qp)
 
int c4iw_post_send (struct ib_qp *ibqp, struct ib_send_wr *wr, struct ib_send_wr **bad_wr)
 
int c4iw_post_receive (struct ib_qp *ibqp, struct ib_recv_wr *wr, struct ib_recv_wr **bad_wr)
 
int c4iw_bind_mw (struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind)
 
int c4iw_modify_qp (struct c4iw_dev *rhp, struct c4iw_qp *qhp, enum c4iw_qp_attr_mask mask, struct c4iw_qp_attributes *attrs, int internal)
 
int c4iw_destroy_qp (struct ib_qp *ib_qp)
 
struct ib_qpc4iw_create_qp (struct ib_pd *pd, struct ib_qp_init_attr *attrs, struct ib_udata *udata)
 
int c4iw_ib_modify_qp (struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata)
 
struct ib_qpc4iw_get_qp (struct ib_device *dev, int qpn)
 
int c4iw_ib_query_qp (struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask, struct ib_qp_init_attr *init_attr)
 

Variables

int db_fc_threshold = 2000
 

Function Documentation

int c4iw_bind_mw ( struct ib_qp qp,
struct ib_mw mw,
struct ib_mw_bind mw_bind 
)

Definition at line 780 of file qp.c.

struct ib_qp* c4iw_create_qp ( struct ib_pd pd,
struct ib_qp_init_attr attrs,
struct ib_udata udata 
)
read

Definition at line 1472 of file qp.c.

int c4iw_destroy_qp ( struct ib_qp ib_qp)

Definition at line 1424 of file qp.c.

struct ib_qp* c4iw_get_qp ( struct ib_device dev,
int  qpn 
)
read

Definition at line 1723 of file qp.c.

int c4iw_ib_modify_qp ( struct ib_qp ibqp,
struct ib_qp_attr attr,
int  attr_mask,
struct ib_udata udata 
)

Definition at line 1675 of file qp.c.

int c4iw_ib_query_qp ( struct ib_qp ibqp,
struct ib_qp_attr attr,
int  attr_mask,
struct ib_qp_init_attr init_attr 
)

Definition at line 1729 of file qp.c.

int c4iw_modify_qp ( struct c4iw_dev rhp,
struct c4iw_qp qhp,
enum c4iw_qp_attr_mask  mask,
struct c4iw_qp_attributes attrs,
int  internal 
)

Definition at line 1183 of file qp.c.

int c4iw_post_receive ( struct ib_qp ibqp,
struct ib_recv_wr wr,
struct ib_recv_wr **  bad_wr 
)

Definition at line 718 of file qp.c.

int c4iw_post_send ( struct ib_qp ibqp,
struct ib_send_wr wr,
struct ib_send_wr **  bad_wr 
)

Definition at line 604 of file qp.c.

void c4iw_qp_add_ref ( struct ib_qp qp)

Definition at line 591 of file qp.c.

void c4iw_qp_rem_ref ( struct ib_qp qp)

Definition at line 597 of file qp.c.

module_param ( db_delay_usecs  ,
int  ,
0644   
)
module_param ( ocqp_support  ,
int  ,
0644   
)
module_param ( db_fc_threshold  ,
int  ,
0644   
)
MODULE_PARM_DESC ( db_delay_usecs  ,
"Usecs to delay awaiting db fifo to drain"   
)
MODULE_PARM_DESC ( ocqp_support  ,
"Support on-chip SQs (default=1)"   
)
MODULE_PARM_DESC ( db_fc_threshold  ,
"QP count/threshold that triggers automatic ""db flow control mode (default = 2000)"   
)

Variable Documentation

int db_fc_threshold = 2000

Definition at line 45 of file qp.c.