Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ipath_intr.c File Reference
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include "ipath_kernel.h"
#include "ipath_verbs.h"
#include "ipath_common.h"

Go to the source code of this file.

Macros

#define E_SUM_PKTERRS
 
#define E_SUM_ERRS
 
#define E_SPKT_ERRS_IGNORE
 
#define E_SUM_LINK_PKTERRS
 
#define INFINIPATH_HWE_TXEMEMPARITYERR_MSG(a)
 
#define INFINIPATH_HWE_RXEMEMPARITYERR_MSG(a)
 

Functions

void ipath_disarm_senderrbufs (struct ipath_devdata *dd)
 
void ipath_format_hwerrors (u64 hwerrs, const struct ipath_hwerror_msgs *hwerrmsgs, size_t nhwerrmsgs, char *msg, size_t msgl)
 
void signal_ib_event (struct ipath_devdata *dd, enum ib_event_type ev)
 
void ipath_clear_freeze (struct ipath_devdata *dd)
 
irqreturn_t ipath_intr (int irq, void *data)
 

Macro Definition Documentation

#define E_SPKT_ERRS_IGNORE
Value:
INFINIPATH_E_SMAXPKTLEN | INFINIPATH_E_SMINPKTLEN | \
INFINIPATH_E_SPKTLEN)

Definition at line 114 of file ipath_intr.c.

#define E_SUM_ERRS
Value:
INFINIPATH_E_SDROPPEDDATAPKT | INFINIPATH_E_SDROPPEDSMPPKT | \
INFINIPATH_E_SMAXPKTLEN | INFINIPATH_E_SUNSUPVL | \
INFINIPATH_E_SMINPKTLEN | INFINIPATH_E_SPKTLEN | \
INFINIPATH_E_INVALIDADDR)

Definition at line 101 of file ipath_intr.c.

#define E_SUM_LINK_PKTERRS
Value:
INFINIPATH_E_SMINPKTLEN | INFINIPATH_E_SPKTLEN | \
INFINIPATH_E_RSHORTPKTLEN | INFINIPATH_E_RMINPKTLEN | \
INFINIPATH_E_RUNEXPCHAR)

Definition at line 125 of file ipath_intr.c.

#define E_SUM_PKTERRS
Value:
INFINIPATH_E_RBADVERSION | INFINIPATH_E_RHDR | \
INFINIPATH_E_RLONGPKTLEN | INFINIPATH_E_RSHORTPKTLEN | \
INFINIPATH_E_RMAXPKTLEN | INFINIPATH_E_RMINPKTLEN | \
INFINIPATH_E_RFORMATERR | INFINIPATH_E_RUNSUPVL | \
INFINIPATH_E_RUNEXPCHAR | INFINIPATH_E_REBP)

Definition at line 92 of file ipath_intr.c.

#define INFINIPATH_HWE_RXEMEMPARITYERR_MSG (   a)
Value:
{ \
.mask = ( INFINIPATH_HWE_RXEMEMPARITYERR_##a << \
INFINIPATH_HWE_RXEMEMPARITYERR_SHIFT ), \
.msg = "RXE " #a " Memory Parity" \
}

Definition at line 160 of file ipath_intr.c.

#define INFINIPATH_HWE_TXEMEMPARITYERR_MSG (   a)
Value:
{ \
.mask = ( INFINIPATH_HWE_TXEMEMPARITYERR_##a << \
INFINIPATH_HWE_TXEMEMPARITYERR_SHIFT ), \
.msg = "TXE " #a " Memory Parity" \
}

Definition at line 154 of file ipath_intr.c.

Function Documentation

void ipath_clear_freeze ( struct ipath_devdata dd)

Definition at line 887 of file ipath_intr.c.

void ipath_disarm_senderrbufs ( struct ipath_devdata dd)

Definition at line 47 of file ipath_intr.c.

void ipath_format_hwerrors ( u64  hwerrs,
const struct ipath_hwerror_msgs hwerrmsgs,
size_t  nhwerrmsgs,
char msg,
size_t  msgl 
)

ipath_format_hwerrors - format hardware error messages for display hardware errors bit vector hardware error descriptions number of hwerrmsgs message buffer message buffer length

Definition at line 205 of file ipath_intr.c.

irqreturn_t ipath_intr ( int  irq,
void data 
)

Definition at line 1065 of file ipath_intr.c.

void signal_ib_event ( struct ipath_devdata dd,
enum ib_event_type  ev 
)

Definition at line 246 of file ipath_intr.c.