Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
qib_tx.c File Reference
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include <linux/moduleparam.h>
#include "qib.h"

Go to the source code of this file.

Functions

 module_param_named (hol_timeout_ms, qib_hol_timeout_ms, uint, S_IRUGO)
 
 MODULE_PARM_DESC (hol_timeout_ms,"duration of user app suspension after link failure")
 
 module_param_named (fetch_arb, qib_sdma_fetch_arb, uint, S_IRUGO)
 
 MODULE_PARM_DESC (fetch_arb,"IBA7220: change SDMA descriptor arbitration")
 
void qib_disarm_piobufs (struct qib_devdata *dd, unsigned first, unsigned cnt)
 
int qib_disarm_piobufs_ifneeded (struct qib_ctxtdata *rcd)
 
void qib_disarm_piobufs_set (struct qib_devdata *dd, unsigned long *mask, unsigned cnt)
 
u32 __iomemqib_getsendbuf_range (struct qib_devdata *dd, u32 *pbufnum, u32 first, u32 last)
 
void qib_sendbuf_done (struct qib_devdata *dd, unsigned n)
 
void qib_chg_pioavailkernel (struct qib_devdata *dd, unsigned start, unsigned len, u32 avail, struct qib_ctxtdata *rcd)
 
void qib_cancel_sends (struct qib_pportdata *ppd)
 
void qib_force_pio_avail_update (struct qib_devdata *dd)
 
void qib_hol_down (struct qib_pportdata *ppd)
 
void qib_hol_init (struct qib_pportdata *ppd)
 
void qib_hol_up (struct qib_pportdata *ppd)
 
void qib_hol_event (unsigned long opaque)
 

Variables

unsigned qib_sdma_fetch_arb = 1
 

Function Documentation

module_param_named ( hol_timeout_ms  ,
qib_hol_timeout_ms  ,
uint  ,
S_IRUGO   
)
module_param_named ( fetch_arb  ,
qib_sdma_fetch_arb  ,
uint  ,
S_IRUGO   
)
MODULE_PARM_DESC ( hol_timeout_ms  ,
"duration of user app suspension after link failure"   
)
MODULE_PARM_DESC ( fetch_arb  ,
"IBA7220: change SDMA descriptor arbitration  
)
void qib_cancel_sends ( struct qib_pportdata ppd)

Definition at line 456 of file qib_tx.c.

void qib_chg_pioavailkernel ( struct qib_devdata dd,
unsigned  start,
unsigned  len,
u32  avail,
struct qib_ctxtdata rcd 
)

qib_chg_pioavailkernel - change which send buffers are available for kernel : the qlogic_ib device : the starting send buffer number : the number of send buffers : true if the buffers are available for kernel use, false otherwise

Definition at line 384 of file qib_tx.c.

void qib_disarm_piobufs ( struct qib_devdata dd,
unsigned  first,
unsigned  cnt 
)

qib_disarm_piobufs - cancel a range of PIO buffers : the qlogic_ib device : the first PIO buffer to cancel : the number of PIO buffers to cancel

Cancel a range of PIO buffers. Used at user process close, in case it died while writing to a PIO buffer.

Definition at line 61 of file qib_tx.c.

int qib_disarm_piobufs_ifneeded ( struct qib_ctxtdata rcd)

Definition at line 80 of file qib_tx.c.

void qib_disarm_piobufs_set ( struct qib_devdata dd,
unsigned long mask,
unsigned  cnt 
)

Definition at line 171 of file qib_tx.c.

void qib_force_pio_avail_update ( struct qib_devdata dd)

Definition at line 512 of file qib_tx.c.

u32 __iomem* qib_getsendbuf_range ( struct qib_devdata dd,
u32 pbufnum,
u32  first,
u32  last 
)

Definition at line 284 of file qib_tx.c.

void qib_hol_down ( struct qib_pportdata ppd)

Definition at line 517 of file qib_tx.c.

void qib_hol_event ( unsigned long  opaque)

Definition at line 554 of file qib_tx.c.

void qib_hol_init ( struct qib_pportdata ppd)

Definition at line 532 of file qib_tx.c.

void qib_hol_up ( struct qib_pportdata ppd)

Definition at line 546 of file qib_tx.c.

void qib_sendbuf_done ( struct qib_devdata dd,
unsigned  n 
)

Definition at line 366 of file qib_tx.c.

Variable Documentation

unsigned qib_sdma_fetch_arb = 1

Definition at line 48 of file qib_tx.c.