Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
ib_pma.h File Reference
#include <rdma/ib_mad.h>

Go to the source code of this file.

Data Structures

struct  ib_pma_mad
 
struct  ib_pma_portsamplescontrol
 
struct  ib_pma_portsamplesresult
 
struct  ib_pma_portsamplesresult_ext
 
struct  ib_pma_portcounters
 
struct  ib_pma_portcounters_ext
 

Macros

#define IB_PMA_CLASS_CAP_ALLPORTSELECT   cpu_to_be16(1 << 8)
 
#define IB_PMA_CLASS_CAP_EXT_WIDTH   cpu_to_be16(1 << 9)
 
#define IB_PMA_CLASS_CAP_XMIT_WAIT   cpu_to_be16(1 << 12)
 
#define IB_PMA_CLASS_PORT_INFO   cpu_to_be16(0x0001)
 
#define IB_PMA_PORT_SAMPLES_CONTROL   cpu_to_be16(0x0010)
 
#define IB_PMA_PORT_SAMPLES_RESULT   cpu_to_be16(0x0011)
 
#define IB_PMA_PORT_COUNTERS   cpu_to_be16(0x0012)
 
#define IB_PMA_PORT_COUNTERS_EXT   cpu_to_be16(0x001D)
 
#define IB_PMA_PORT_SAMPLES_RESULT_EXT   cpu_to_be16(0x001E)
 
#define IB_PMA_SEL_SYMBOL_ERROR   cpu_to_be16(0x0001)
 
#define IB_PMA_SEL_LINK_ERROR_RECOVERY   cpu_to_be16(0x0002)
 
#define IB_PMA_SEL_LINK_DOWNED   cpu_to_be16(0x0004)
 
#define IB_PMA_SEL_PORT_RCV_ERRORS   cpu_to_be16(0x0008)
 
#define IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS   cpu_to_be16(0x0010)
 
#define IB_PMA_SEL_PORT_XMIT_DISCARDS   cpu_to_be16(0x0040)
 
#define IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS   cpu_to_be16(0x0200)
 
#define IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS   cpu_to_be16(0x0400)
 
#define IB_PMA_SEL_PORT_VL15_DROPPED   cpu_to_be16(0x0800)
 
#define IB_PMA_SEL_PORT_XMIT_DATA   cpu_to_be16(0x1000)
 
#define IB_PMA_SEL_PORT_RCV_DATA   cpu_to_be16(0x2000)
 
#define IB_PMA_SEL_PORT_XMIT_PACKETS   cpu_to_be16(0x4000)
 
#define IB_PMA_SEL_PORT_RCV_PACKETS   cpu_to_be16(0x8000)
 
#define IB_PMA_SELX_PORT_XMIT_DATA   cpu_to_be16(0x0001)
 
#define IB_PMA_SELX_PORT_RCV_DATA   cpu_to_be16(0x0002)
 
#define IB_PMA_SELX_PORT_XMIT_PACKETS   cpu_to_be16(0x0004)
 
#define IB_PMA_SELX_PORT_RCV_PACKETS   cpu_to_be16(0x0008)
 
#define IB_PMA_SELX_PORT_UNI_XMIT_PACKETS   cpu_to_be16(0x0010)
 
#define IB_PMA_SELX_PORT_UNI_RCV_PACKETS   cpu_to_be16(0x0020)
 
#define IB_PMA_SELX_PORT_MULTI_XMIT_PACKETS   cpu_to_be16(0x0040)
 
#define IB_PMA_SELX_PORT_MULTI_RCV_PACKETS   cpu_to_be16(0x0080)
 

Variables

struct ib_pma_mad __packed
 

Macro Definition Documentation

#define IB_PMA_CLASS_CAP_ALLPORTSELECT   cpu_to_be16(1 << 8)

Definition at line 43 of file ib_pma.h.

#define IB_PMA_CLASS_CAP_EXT_WIDTH   cpu_to_be16(1 << 9)

Definition at line 44 of file ib_pma.h.

#define IB_PMA_CLASS_CAP_XMIT_WAIT   cpu_to_be16(1 << 12)

Definition at line 45 of file ib_pma.h.

#define IB_PMA_CLASS_PORT_INFO   cpu_to_be16(0x0001)

Definition at line 47 of file ib_pma.h.

#define IB_PMA_PORT_COUNTERS   cpu_to_be16(0x0012)

Definition at line 50 of file ib_pma.h.

#define IB_PMA_PORT_COUNTERS_EXT   cpu_to_be16(0x001D)

Definition at line 51 of file ib_pma.h.

#define IB_PMA_PORT_SAMPLES_CONTROL   cpu_to_be16(0x0010)

Definition at line 48 of file ib_pma.h.

#define IB_PMA_PORT_SAMPLES_RESULT   cpu_to_be16(0x0011)

Definition at line 49 of file ib_pma.h.

#define IB_PMA_PORT_SAMPLES_RESULT_EXT   cpu_to_be16(0x001E)

Definition at line 52 of file ib_pma.h.

#define IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS   cpu_to_be16(0x0400)

Definition at line 125 of file ib_pma.h.

#define IB_PMA_SEL_LINK_DOWNED   cpu_to_be16(0x0004)

Definition at line 120 of file ib_pma.h.

#define IB_PMA_SEL_LINK_ERROR_RECOVERY   cpu_to_be16(0x0002)

Definition at line 119 of file ib_pma.h.

#define IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS   cpu_to_be16(0x0200)

Definition at line 124 of file ib_pma.h.

#define IB_PMA_SEL_PORT_RCV_DATA   cpu_to_be16(0x2000)

Definition at line 128 of file ib_pma.h.

#define IB_PMA_SEL_PORT_RCV_ERRORS   cpu_to_be16(0x0008)

Definition at line 121 of file ib_pma.h.

#define IB_PMA_SEL_PORT_RCV_PACKETS   cpu_to_be16(0x8000)

Definition at line 130 of file ib_pma.h.

#define IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS   cpu_to_be16(0x0010)

Definition at line 122 of file ib_pma.h.

#define IB_PMA_SEL_PORT_VL15_DROPPED   cpu_to_be16(0x0800)

Definition at line 126 of file ib_pma.h.

#define IB_PMA_SEL_PORT_XMIT_DATA   cpu_to_be16(0x1000)

Definition at line 127 of file ib_pma.h.

#define IB_PMA_SEL_PORT_XMIT_DISCARDS   cpu_to_be16(0x0040)

Definition at line 123 of file ib_pma.h.

#define IB_PMA_SEL_PORT_XMIT_PACKETS   cpu_to_be16(0x4000)

Definition at line 129 of file ib_pma.h.

#define IB_PMA_SEL_SYMBOL_ERROR   cpu_to_be16(0x0001)

Definition at line 118 of file ib_pma.h.

#define IB_PMA_SELX_PORT_MULTI_RCV_PACKETS   cpu_to_be16(0x0080)

Definition at line 154 of file ib_pma.h.

#define IB_PMA_SELX_PORT_MULTI_XMIT_PACKETS   cpu_to_be16(0x0040)

Definition at line 153 of file ib_pma.h.

#define IB_PMA_SELX_PORT_RCV_DATA   cpu_to_be16(0x0002)

Definition at line 148 of file ib_pma.h.

#define IB_PMA_SELX_PORT_RCV_PACKETS   cpu_to_be16(0x0008)

Definition at line 150 of file ib_pma.h.

#define IB_PMA_SELX_PORT_UNI_RCV_PACKETS   cpu_to_be16(0x0020)

Definition at line 152 of file ib_pma.h.

#define IB_PMA_SELX_PORT_UNI_XMIT_PACKETS   cpu_to_be16(0x0010)

Definition at line 151 of file ib_pma.h.

#define IB_PMA_SELX_PORT_XMIT_DATA   cpu_to_be16(0x0001)

Definition at line 147 of file ib_pma.h.

#define IB_PMA_SELX_PORT_XMIT_PACKETS   cpu_to_be16(0x0004)

Definition at line 149 of file ib_pma.h.

Variable Documentation