iPXE
|
QLogic QIB7322 Infiniband HCA. More...
Go to the source code of this file.
Data Structures | |
struct | QIB_7322_GPIO_pb |
A QIB7322 GPIO register. More... | |
struct | QIB_7322_GPIO |
struct | QIB_7322_scalar_pb |
A QIB7322 general scalar register. More... | |
struct | QIB_7322_scalar |
struct | QIB_7322_feature_mask_pb |
QIB7322 feature mask. More... | |
struct | QIB_7322_feature_mask |
struct | QIB_7322_SendPbc_pb |
QIB7322 send per-buffer control word. More... | |
struct | QIB_7322_SendPbc |
struct | QIB_7322_SendBufAvail_pb |
QIB7322 send buffer availability. More... | |
struct | QIB_7322_SendBufAvail |
struct | QIB_7322_RcvCtrl_P_pb |
QIB7322 port-specific receive control. More... | |
struct | QIB_7322_RcvCtrl_P |
struct | QIB_7322_RcvEgr_pb |
A QIB7322 eager receive descriptor. More... | |
struct | QIB_7322_RcvEgr |
struct | QIB_7322_RcvHdrFlags_pb |
QIB7322 receive header flags. More... | |
struct | QIB_7322_RcvHdrFlags |
struct | QIB_7322_IBSD_DDS_MAP_TABLE_pb |
QIB7322 DDS tuning parameters. More... | |
struct | QIB_7322_IBSD_DDS_MAP_TABLE |
Macros | |
#define | PSEUDOBIT_LITTLE_ENDIAN |
#define | QIB7322_SENDBUFAVAIL_ALIGN 64 |
DMA alignment for send buffer availability. More... | |
#define | QIB7322_BAR0_SIZE 0x400000 |
QIB7322 memory BAR size. More... | |
#define | QIB7322_PORT_BASE 1 |
QIB7322 base port number. More... | |
#define | QIB7322_MAX_PORTS 2 |
QIB7322 maximum number of ports. More... | |
#define | QIB7322_MAX_WIDTH 4 |
QIB7322 maximum width. More... | |
#define | QIB7322_GPIO_SCL 0 |
QIB7322 I2C SCL line GPIO number. More... | |
#define | QIB7322_GPIO_SDA 1 |
QIB7322 I2C SDA line GPIO number. More... | |
#define | QIB7322_EEPROM_GUID_OFFSET 3 |
GUID offset within EEPROM. More... | |
#define | QIB7322_EEPROM_GUID_SIZE 8 |
GUID size within EEPROM. More... | |
#define | QIB7322_EEPROM_SERIAL_OFFSET 12 |
Board serial number offset within EEPROM. More... | |
#define | QIB7322_EEPROM_SERIAL_SIZE 12 |
Board serial number size within EEPROM. More... | |
#define | QIB7322_SMALL_SEND_BUF_SIZE 4096 |
QIB7322 small send buffer size. More... | |
#define | QIB7322_SMALL_SEND_BUF_START 0 |
QIB7322 small send buffer starting index. More... | |
#define | QIB7322_SMALL_SEND_BUF_COUNT 128 |
QIB7322 small send buffer count. More... | |
#define | QIB7322_LARGE_SEND_BUF_SIZE 8192 |
QIB7322 large send buffer size. More... | |
#define | QIB7322_LARGE_SEND_BUF_START 128 |
QIB7322 large send buffer starting index. More... | |
#define | QIB7322_LARGE_SEND_BUF_COUNT 32 |
QIB7322 large send buffer count. More... | |
#define | QIB7322_VL15_PORT0_SEND_BUF_START 160 |
QIB7322 VL15 port 0 send buffer starting index. More... | |
#define | QIB7322_VL15_PORT0_SEND_BUF_COUNT 1 |
QIB7322 VL15 port 0 send buffer count. More... | |
#define | QIB7322_VL15_PORT0_SEND_BUF_SIZE 8192 |
QIB7322 VL15 port 0 send buffer size. More... | |
#define | QIB7322_VL15_PORT1_SEND_BUF_START 161 |
QIB7322 VL15 port 0 send buffer starting index. More... | |
#define | QIB7322_VL15_PORT1_SEND_BUF_COUNT 1 |
QIB7322 VL15 port 0 send buffer count. More... | |
#define | QIB7322_VL15_PORT1_SEND_BUF_SIZE 8192 |
QIB7322 VL15 port 0 send buffer size. More... | |
#define | QIB7322_SMALL_SEND_BUF_USED 32 |
Number of small send buffers used. More... | |
#define | QIB7322_NUM_CONTEXTS 6 |
Number of contexts (including kernel context) More... | |
#define | QIB7322_EAGER_ARRAY_SIZE_6CTX_KERNEL 1024 |
ContextCfg values for different numbers of contexts. More... | |
#define | QIB7322_EAGER_ARRAY_SIZE_6CTX_USER 4096 |
#define | QIB7322_EAGER_ARRAY_SIZE_10CTX_KERNEL 1024 |
#define | QIB7322_EAGER_ARRAY_SIZE_10CTX_USER 2048 |
#define | QIB7322_EAGER_ARRAY_SIZE_18CTX_KERNEL 1024 |
#define | QIB7322_EAGER_ARRAY_SIZE_18CTX_USER 1024 |
#define | QIB7322_EAGER_BUFFER_ALIGN 2048 |
Eager buffer required alignment. More... | |
#define | QIB7322_RECV_HEADER_COUNT 8 |
Number of RX headers per context. More... | |
#define | QIB7322_RECV_HEADER_SIZE 96 |
Maximum size of each RX header. More... | |
#define | QIB7322_RECV_HEADERS_SIZE ( QIB7322_RECV_HEADER_SIZE * QIB7322_RECV_HEADER_COUNT ) |
Total size of an RX header ring. More... | |
#define | QIB7322_RECV_HEADERS_ALIGN 64 |
RX header alignment. More... | |
#define | QIB7322_RECV_PAYLOAD_SIZE 2048 |
RX payload size. More... | |
#define | QIB7322_MAX_CREDITS ( ( 65536 / 64 ) / QIB7322_MAX_PORTS ) |
Maximum number of credits per port. More... | |
#define | QIB7322_MAX_CREDITS_VL15 9 |
Number of credits to advertise for VL15. More... | |
#define | QIB7322_MAX_CREDITS_VL0 ( QIB7322_MAX_CREDITS - QIB7322_MAX_CREDITS_VL15 ) |
Number of credits to advertise for VL0. More... | |
#define | QIB7322_QP_IDETH 0xdead0 |
QPN used for Infinipath Packets. More... | |
#define | QIB7322_AHB_MAX_WAIT_US 500 |
Maximum time for wait for AHB, in us. More... | |
#define | QIB7322_AHB_LOC_ADDRESS(_location) ( (_location) & 0xffff ) |
QIB7322 AHB locations. More... | |
#define | QIB7322_AHB_LOC_TARGET(_location) ( (_location) >> 16 ) |
#define | QIB7322_AHB_CHAN_0 0 |
#define | QIB7322_AHB_CHAN_1 1 |
#define | QIB7322_AHB_PLL 2 |
#define | QIB7322_AHB_CHAN_2 3 |
#define | QIB7322_AHB_CHAN_3 4 |
#define | QIB7322_AHB_SUBSYS 5 |
#define | QIB7322_AHB_CHAN(_channel) ( (_channel) + ( (_channel) >> 1 ) ) |
#define | QIB7322_AHB_TARGET_0 2 |
#define | QIB7322_AHB_TARGET_1 3 |
#define | QIB7322_AHB_TARGET(_port) ( (_port) + 2 ) |
#define | QIB7322_AHB_LOCATION(_port, _channel, _register) |
#define | QIB7322_LINK_STATE_MAX_WAIT_US 20 |
Maximum time to wait for link state changes, in us. More... | |
Enumerations | |
enum | qib7322_board_id { QIB7322_BOARD_QLE7342_EMULATION = 0, QIB7322_BOARD_QLE7340 = 1, QIB7322_BOARD_QLE7342 = 2, QIB7322_BOARD_QMI7342 = 3, QIB7322_BOARD_QMH7342_UNSUPPORTED = 4, QIB7322_BOARD_QME7342 = 5, QIB7322_BOARD_QMH7342 = 6, QIB7322_BOARD_QLE7342_TEST = 15 } |
QIB7322 board identifiers. More... | |
enum | qib7322_contextcfg { QIB7322_CONTEXTCFG_6CTX = 0, QIB7322_CONTEXTCFG_10CTX = 1, QIB7322_CONTEXTCFG_18CTX = 2 } |
ContextCfg values for different numbers of contexts. More... | |
enum | qib7322_eager_buffer_size { QIB7322_EAGER_BUFFER_NONE = 0, QIB7322_EAGER_BUFFER_2K = 1, QIB7322_EAGER_BUFFER_4K = 2, QIB7322_EAGER_BUFFER_8K = 3, QIB7322_EAGER_BUFFER_16K = 4, QIB7322_EAGER_BUFFER_32K = 5, QIB7322_EAGER_BUFFER_64K = 6 } |
Eager buffer size encodings. More... | |
enum | qib7322_link_state { QIB7322_LINK_STATE_DOWN = 0, QIB7322_LINK_STATE_INIT = 1, QIB7322_LINK_STATE_ARM = 2, QIB7322_LINK_STATE_ACTIVE = 3, QIB7322_LINK_STATE_ACT_DEFER = 4 } |
QIB7322 link states. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
QLogic QIB7322 Infiniband HCA.
Definition in file qib7322.h.
#define QIB7322_SENDBUFAVAIL_ALIGN 64 |
#define QIB7322_BAR0_SIZE 0x400000 |
#define QIB7322_MAX_PORTS 2 |
#define QIB7322_GPIO_SCL 0 |
#define QIB7322_GPIO_SDA 1 |
#define QIB7322_EEPROM_GUID_OFFSET 3 |
#define QIB7322_EEPROM_GUID_SIZE 8 |
#define QIB7322_EEPROM_SERIAL_OFFSET 12 |
#define QIB7322_EEPROM_SERIAL_SIZE 12 |
#define QIB7322_SMALL_SEND_BUF_SIZE 4096 |
#define QIB7322_SMALL_SEND_BUF_START 0 |
#define QIB7322_SMALL_SEND_BUF_COUNT 128 |
#define QIB7322_LARGE_SEND_BUF_SIZE 8192 |
#define QIB7322_LARGE_SEND_BUF_START 128 |
#define QIB7322_LARGE_SEND_BUF_COUNT 32 |
#define QIB7322_VL15_PORT0_SEND_BUF_START 160 |
#define QIB7322_VL15_PORT0_SEND_BUF_COUNT 1 |
#define QIB7322_VL15_PORT0_SEND_BUF_SIZE 8192 |
#define QIB7322_VL15_PORT1_SEND_BUF_START 161 |
#define QIB7322_VL15_PORT1_SEND_BUF_COUNT 1 |
#define QIB7322_VL15_PORT1_SEND_BUF_SIZE 8192 |
#define QIB7322_SMALL_SEND_BUF_USED 32 |
#define QIB7322_NUM_CONTEXTS 6 |
#define QIB7322_EAGER_ARRAY_SIZE_6CTX_KERNEL 1024 |
#define QIB7322_EAGER_BUFFER_ALIGN 2048 |
#define QIB7322_RECV_HEADER_COUNT 8 |
#define QIB7322_RECV_HEADER_SIZE 96 |
#define QIB7322_RECV_HEADERS_SIZE ( QIB7322_RECV_HEADER_SIZE * QIB7322_RECV_HEADER_COUNT ) |
#define QIB7322_RECV_HEADERS_ALIGN 64 |
#define QIB7322_RECV_PAYLOAD_SIZE 2048 |
#define QIB7322_MAX_CREDITS ( ( 65536 / 64 ) / QIB7322_MAX_PORTS ) |
#define QIB7322_MAX_CREDITS_VL15 9 |
#define QIB7322_MAX_CREDITS_VL0 ( QIB7322_MAX_CREDITS - QIB7322_MAX_CREDITS_VL15 ) |
#define QIB7322_QP_IDETH 0xdead0 |
#define QIB7322_AHB_MAX_WAIT_US 500 |
#define QIB7322_AHB_LOC_ADDRESS | ( | _location | ) | ( (_location) & 0xffff ) |
#define QIB7322_AHB_LOC_TARGET | ( | _location | ) | ( (_location) >> 16 ) |
#define QIB7322_AHB_CHAN | ( | _channel | ) | ( (_channel) + ( (_channel) >> 1 ) ) |
#define QIB7322_AHB_LOCATION | ( | _port, | |
_channel, | |||
_register | |||
) |
#define QIB7322_LINK_STATE_MAX_WAIT_US 20 |
enum qib7322_board_id |
QIB7322 board identifiers.
Definition at line 175 of file qib7322.h.
enum qib7322_contextcfg |
ContextCfg values for different numbers of contexts.
Enumerator | |
---|---|
QIB7322_CONTEXTCFG_6CTX | |
QIB7322_CONTEXTCFG_10CTX | |
QIB7322_CONTEXTCFG_18CTX |
Eager buffer size encodings.
Enumerator | |
---|---|
QIB7322_EAGER_BUFFER_NONE | |
QIB7322_EAGER_BUFFER_2K | |
QIB7322_EAGER_BUFFER_4K | |
QIB7322_EAGER_BUFFER_8K | |
QIB7322_EAGER_BUFFER_16K | |
QIB7322_EAGER_BUFFER_32K | |
QIB7322_EAGER_BUFFER_64K |
Definition at line 273 of file qib7322.h.
enum qib7322_link_state |
QIB7322 link states.
Enumerator | |
---|---|
QIB7322_LINK_STATE_DOWN | |
QIB7322_LINK_STATE_INIT | |
QIB7322_LINK_STATE_ARM | |
QIB7322_LINK_STATE_ACTIVE | |
QIB7322_LINK_STATE_ACT_DEFER |
Definition at line 358 of file qib7322.h.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |