Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | qib_base_info |
struct | qib_user_info |
struct | qib_ctxt_info |
struct | qib_tid_info |
struct | qib_cmd |
struct | qib_iovec |
struct | __qib_sendpkt |
struct | qib_diag_xpkt |
struct | qib_flash |
struct | qlogic_ib_counters |
struct | qib_header |
struct | qib_message_header |
Enumerations | |
enum | qib_ureg { ur_rcvhdrtail = 0, ur_rcvhdrhead = 1, ur_rcvegrindextail = 2, ur_rcvegrindexhead = 3, _QIB_UregMax } |
Functions | |
struct qib_base_info | __attribute__ ((aligned(8))) |
Packet vector entry. | |
#define _DIAG_XPKT_VERS 3 |
Definition at line 512 of file qib_common.h.
#define _QIB_EVENT_DISARM_BUFS_BIT 0 |
Definition at line 396 of file qib_common.h.
#define _QIB_EVENT_LID_CHANGE_BIT 2 |
Definition at line 398 of file qib_common.h.
#define _QIB_EVENT_LINKDOWN_BIT 1 |
Definition at line 397 of file qib_common.h.
#define _QIB_EVENT_LMC_CHANGE_BIT 3 |
Definition at line 399 of file qib_common.h.
#define _QIB_EVENT_SL2VL_CHANGE_BIT 4 |
Definition at line 400 of file qib_common.h.
#define _QIB_MAX_EVENT_BIT _QIB_EVENT_SL2VL_CHANGE_BIT |
Definition at line 401 of file qib_common.h.
#define IPS_PROTO_VERSION 2 |
Definition at line 52 of file qib_common.h.
#define QIB_AETH_CREDIT_INVAL 0x1F |
Definition at line 715 of file qib_common.h.
#define QIB_AETH_CREDIT_MASK 0x1F |
Definition at line 714 of file qib_common.h.
#define QIB_AETH_CREDIT_SHIFT 24 |
Definition at line 713 of file qib_common.h.
Definition at line 385 of file qib_common.h.
#define QIB_CMD_ARMLAUNCH_CTRL 29 /* armlaunch detection control */ |
Definition at line 379 of file qib_common.h.
#define QIB_CMD_ASSIGN_CTXT 23 /* allocate HCA and ctxt */ |
Definition at line 373 of file qib_common.h.
#define QIB_CMD_CPUS_LIST |
Definition at line 386 of file qib_common.h.
Definition at line 367 of file qib_common.h.
Definition at line 384 of file qib_common.h.
Definition at line 377 of file qib_common.h.
Definition at line 378 of file qib_common.h.
Definition at line 368 of file qib_common.h.
#define QIB_CMD_SDMA_COMPLETE 32 /* sdma completion counter request */ |
Definition at line 382 of file qib_common.h.
Definition at line 381 of file qib_common.h.
Definition at line 371 of file qib_common.h.
Definition at line 370 of file qib_common.h.
Definition at line 369 of file qib_common.h.
#define QIB_CMD_UNUSED_1 25 |
Definition at line 375 of file qib_common.h.
#define QIB_CMD_UNUSED_2 26 |
Definition at line 376 of file qib_common.h.
Definition at line 374 of file qib_common.h.
#define QIB_DEFAULT_P_KEY 0xFFFF |
Definition at line 711 of file qib_common.h.
#define QIB_DRIVER_VERSION QIB_DRIVER_VERSION_BASE |
Definition at line 313 of file qib_common.h.
#define QIB_DRIVER_VERSION_BASE "1.11" |
Definition at line 307 of file qib_common.h.
#define QIB_EAGER_TID_ID QLOGIC_IB_I_TID_MASK |
Definition at line 720 of file qib_common.h.
#define QIB_EVENT_DISARM_BUFS_BIT (1UL << _QIB_EVENT_DISARM_BUFS_BIT) |
Definition at line 403 of file qib_common.h.
#define QIB_EVENT_LID_CHANGE_BIT (1UL << _QIB_EVENT_LID_CHANGE_BIT) |
Definition at line 405 of file qib_common.h.
#define QIB_EVENT_LINKDOWN_BIT (1UL << _QIB_EVENT_LINKDOWN_BIT) |
Definition at line 404 of file qib_common.h.
#define QIB_EVENT_LMC_CHANGE_BIT (1UL << _QIB_EVENT_LMC_CHANGE_BIT) |
Definition at line 406 of file qib_common.h.
#define QIB_EVENT_SL2VL_CHANGE_BIT (1UL << _QIB_EVENT_SL2VL_CHANGE_BIT) |
Definition at line 407 of file qib_common.h.
#define QIB_FLASH_VERSION 2 |
Definition at line 526 of file qib_common.h.
#define QIB_HEADER_QUEUE_WORDS 9 |
Definition at line 729 of file qib_common.h.
#define QIB_KD_QP 0x656b78 |
Definition at line 72 of file qib_common.h.
#define QIB_KERN_SWVERSION ((QIB_KERN_TYPE << 31) | QIB_USER_SWVERSION) |
Definition at line 301 of file qib_common.h.
#define QIB_KERN_TYPE 0 |
Definition at line 287 of file qib_common.h.
#define QIB_LRH_BTH 0x0002 /* 1. word of IB LRH - next header: BTH */ |
Definition at line 706 of file qib_common.h.
#define QIB_LRH_GRH 0x0003 /* 1. word of IB LRH - next header: GRH */ |
Definition at line 705 of file qib_common.h.
#define QIB_MSN_MASK 0xFFFFFF |
Definition at line 717 of file qib_common.h.
#define QIB_MULTICAST_LID_BASE 0xC000 |
Definition at line 719 of file qib_common.h.
#define QIB_MULTICAST_QPN 0xFFFFFF |
Definition at line 721 of file qib_common.h.
#define QIB_PERMISSIVE_LID 0xFFFF |
Definition at line 712 of file qib_common.h.
#define QIB_POLL_TYPE_ANYRCV 0x0 |
Definition at line 413 of file qib_common.h.
#define QIB_POLL_TYPE_URGENT 0x1 |
Definition at line 414 of file qib_common.h.
#define QIB_PORT_ALG_ACROSS |
Definition at line 322 of file qib_common.h.
Definition at line 324 of file qib_common.h.
#define QIB_PORT_ALG_WITHIN |
Definition at line 323 of file qib_common.h.
#define QIB_PSN_MASK 0xFFFFFF |
Definition at line 716 of file qib_common.h.
#define QIB_QPN_MASK 0xFFFFFF |
Definition at line 718 of file qib_common.h.
#define QIB_RUNTIME_CTXT_MSB_IN_QP 0x1000 |
Definition at line 117 of file qib_common.h.
#define QIB_RUNTIME_CTXT_REDIRECT 0x2000 |
Definition at line 118 of file qib_common.h.
#define QIB_RUNTIME_FORCE_PIOAVAIL 0x0400 |
Definition at line 115 of file qib_common.h.
#define QIB_RUNTIME_FORCE_WC_ORDER 0x0004 |
Definition at line 108 of file qib_common.h.
#define QIB_RUNTIME_HDRSUPP 0x4000 |
Definition at line 119 of file qib_common.h.
#define QIB_RUNTIME_MASTER 0x0010 |
Definition at line 110 of file qib_common.h.
#define QIB_RUNTIME_NODMA_RTAIL 0x0080 |
Definition at line 112 of file qib_common.h.
#define QIB_RUNTIME_PCIE 0x0002 |
Definition at line 107 of file qib_common.h.
#define QIB_RUNTIME_PIO_REGSWAPPED 0x0800 |
Definition at line 116 of file qib_common.h.
#define QIB_RUNTIME_RCHK 0x0020 |
Definition at line 111 of file qib_common.h.
#define QIB_RUNTIME_RCVHDR_COPY 0x0008 |
Definition at line 109 of file qib_common.h.
#define QIB_RUNTIME_SDMA 0x0200 |
Definition at line 114 of file qib_common.h.
#define QIB_RUNTIME_SPECIAL_TRIGGER 0x0100 |
Definition at line 113 of file qib_common.h.
#define QIB_SRC_OUI_1 0x00 |
Definition at line 44 of file qib_common.h.
#define QIB_SRC_OUI_2 0x11 |
Definition at line 45 of file qib_common.h.
#define QIB_SRC_OUI_3 0x75 |
Definition at line 46 of file qib_common.h.
#define QIB_STATUS_CHIP_PRESENT 0x20 |
Definition at line 82 of file qib_common.h.
#define QIB_STATUS_HWERROR 0x200 |
Definition at line 88 of file qib_common.h.
#define QIB_STATUS_IB_CONF 0x80 |
Definition at line 86 of file qib_common.h.
#define QIB_STATUS_IB_READY 0x40 |
Definition at line 84 of file qib_common.h.
#define QIB_STATUS_INITTED 0x1 /* basic initialization done */ |
Definition at line 80 of file qib_common.h.
#define QIB_USER_SWMAJOR 1 |
Definition at line 273 of file qib_common.h.
#define QIB_USER_SWMINOR 11 |
Definition at line 282 of file qib_common.h.
#define QIB_USER_SWVERSION ((QIB_USER_SWMAJOR << 16) | QIB_USER_SWMINOR) |
Definition at line 284 of file qib_common.h.
#define QLOGIC_IB_I_CTXT_MASK 0xF |
Definition at line 656 of file qib_common.h.
#define QLOGIC_IB_I_CTXT_SHIFT 24 |
Definition at line 657 of file qib_common.h.
#define QLOGIC_IB_I_OFFSET_MASK 0x1FFF |
Definition at line 660 of file qib_common.h.
#define QLOGIC_IB_I_OFFSET_SHIFT 0 |
Definition at line 661 of file qib_common.h.
#define QLOGIC_IB_I_TID_MASK 0x7FF |
Definition at line 658 of file qib_common.h.
#define QLOGIC_IB_I_TID_SHIFT 13 |
Definition at line 659 of file qib_common.h.
#define QLOGIC_IB_I_VERS_MASK 0xF |
Definition at line 654 of file qib_common.h.
#define QLOGIC_IB_I_VERS_SHIFT 28 |
Definition at line 655 of file qib_common.h.
#define QLOGIC_IB_KPF_INTR 0x1 |
Definition at line 664 of file qib_common.h.
#define QLOGIC_IB_KPF_SUBCTXT_MASK 0x3 |
Definition at line 665 of file qib_common.h.
#define QLOGIC_IB_KPF_SUBCTXT_SHIFT 1 |
Definition at line 666 of file qib_common.h.
#define QLOGIC_IB_MAX_SUBCTXT 4 |
Definition at line 668 of file qib_common.h.
#define QLOGIC_IB_RHF_EGRINDEX_MASK 0xFFF |
Definition at line 633 of file qib_common.h.
#define QLOGIC_IB_RHF_EGRINDEX_SHIFT 16 |
Definition at line 634 of file qib_common.h.
#define QLOGIC_IB_RHF_H_ERR_MASK 0xFF800000 |
Definition at line 648 of file qib_common.h.
#define QLOGIC_IB_RHF_H_IBERR 0x00800000 |
Definition at line 647 of file qib_common.h.
#define QLOGIC_IB_RHF_H_ICRCERR 0x80000000 |
Definition at line 639 of file qib_common.h.
#define QLOGIC_IB_RHF_H_IHDRERR 0x04000000 |
Definition at line 644 of file qib_common.h.
#define QLOGIC_IB_RHF_H_LENERR 0x10000000 |
Definition at line 642 of file qib_common.h.
#define QLOGIC_IB_RHF_H_MKERR 0x01000000 |
Definition at line 646 of file qib_common.h.
#define QLOGIC_IB_RHF_H_MTUERR 0x08000000 |
Definition at line 643 of file qib_common.h.
#define QLOGIC_IB_RHF_H_PARITYERR 0x20000000 |
Definition at line 641 of file qib_common.h.
#define QLOGIC_IB_RHF_H_TIDERR 0x02000000 |
Definition at line 645 of file qib_common.h.
#define QLOGIC_IB_RHF_H_VCRCERR 0x40000000 |
Definition at line 640 of file qib_common.h.
#define QLOGIC_IB_RHF_HDRQ_OFFSET_MASK 0x7FF |
Definition at line 637 of file qib_common.h.
#define QLOGIC_IB_RHF_HDRQ_OFFSET_SHIFT 4 |
Definition at line 638 of file qib_common.h.
#define QLOGIC_IB_RHF_L_SWA 0x00008000 |
Definition at line 650 of file qib_common.h.
#define QLOGIC_IB_RHF_L_SWB 0x00004000 |
Definition at line 651 of file qib_common.h.
#define QLOGIC_IB_RHF_L_USE_EGR 0x80000000 |
Definition at line 649 of file qib_common.h.
#define QLOGIC_IB_RHF_LENGTH_MASK 0x7FF |
Definition at line 629 of file qib_common.h.
#define QLOGIC_IB_RHF_LENGTH_SHIFT 0 |
Definition at line 630 of file qib_common.h.
#define QLOGIC_IB_RHF_RCVTYPE_MASK 0x7 |
Definition at line 631 of file qib_common.h.
#define QLOGIC_IB_RHF_RCVTYPE_SHIFT 11 |
Definition at line 632 of file qib_common.h.
#define QLOGIC_IB_RHF_SEQ_MASK 0xF |
Definition at line 635 of file qib_common.h.
#define QLOGIC_IB_RHF_SEQ_SHIFT 0 |
Definition at line 636 of file qib_common.h.
#define QLOGIC_IB_SENDPIOAVAIL_BUSY_SHIFT 1 |
Definition at line 676 of file qib_common.h.
#define QLOGIC_IB_SENDPIOAVAIL_CHECK_SHIFT 0 |
Definition at line 677 of file qib_common.h.
#define QLOGIC_IB_SP_TEST 0x40 |
Definition at line 671 of file qib_common.h.
#define QLOGIC_IB_SP_TESTEBP 0x20 |
Definition at line 672 of file qib_common.h.
#define QLOGIC_IB_SP_TRIGGER_SHIFT 15 |
Definition at line 673 of file qib_common.h.
#define RCVHQ_RCV_TYPE_EAGER 1 |
Definition at line 725 of file qib_common.h.
#define RCVHQ_RCV_TYPE_ERROR 3 |
Definition at line 727 of file qib_common.h.
#define RCVHQ_RCV_TYPE_EXPECTED 0 |
Definition at line 724 of file qib_common.h.
#define RCVHQ_RCV_TYPE_NON_KD 2 |
Definition at line 726 of file qib_common.h.
#define SIZE_OF_CRC 1 |
Definition at line 709 of file qib_common.h.
enum qib_ureg |
Definition at line 93 of file qib_common.h.
|
read |
Packet vector entry.
This data structure is used with netio_send_packet_vector() to send multiple packets with one NetIO call. The structure should be initialized by calling netio_pkt_vector_set(), rather than by setting the fields directly.
This structure is guaranteed to be a power of two in size, no bigger than one L2 cache line, and to be aligned modulo its size.
Reserved for use by the user application. When initialized with the netio_set_pkt_vector_entry() function, this field is guaranteed to be visible to readers only after all other fields are already visible. This way it can be used as a valid flag or generation counter.
Low 8 bits of the packet address to send. The high bits are acquired from the 'handle' field.
Number of bytes to transmit.
The raw handle from a netio_pkt_t. If this is NETIO_PKT_HANDLE_NONE, this vector entry will be skipped and no packet will be transmitted.
__u32 _spu_unused2 |
Definition at line 369 of file qib_common.h.
__u16 spi_ctxt |
Definition at line 266 of file qib_common.h.
__u32 spi_hw_version |
Definition at line 262 of file qib_common.h.
__u32 spi_mtu |
Definition at line 272 of file qib_common.h.
__u32 spi_nctxts |
Definition at line 365 of file qib_common.h.
__u32 spi_pioalign |
Definition at line 333 of file qib_common.h.
__u64 spi_pioavailaddr |
Definition at line 354 of file qib_common.h.
__u64 spi_piobufbase |
Definition at line 348 of file qib_common.h.
__u32 spi_piocnt |
Definition at line 341 of file qib_common.h.
__u32 spi_pioindex |
Definition at line 339 of file qib_common.h.
__u32 spi_piosize |
Definition at line 278 of file qib_common.h.
__u16 spi_port |
Definition at line 367 of file qib_common.h.
__u32 spi_qpair |
Definition at line 314 of file qib_common.h.
__u64 spi_rcv_egrbufs |
Definition at line 300 of file qib_common.h.
__u32 spi_rcv_egrbufsize |
Definition at line 308 of file qib_common.h.
__u32 spi_rcv_egrbuftotlen |
Definition at line 373 of file qib_common.h.
__u32 spi_rcv_egrchunksize |
Definition at line 371 of file qib_common.h.
__u32 spi_rcv_egrperchunk |
Definition at line 369 of file qib_common.h.
__u64 spi_rcvhdr_base |
Definition at line 295 of file qib_common.h.
__u32 spi_rcvhdr_cnt |
Definition at line 289 of file qib_common.h.
__u64 spi_rcvhdr_tailaddr |
Definition at line 376 of file qib_common.h.
__u32 spi_rcvhdrent_size |
Definition at line 284 of file qib_common.h.
__u32 spi_rhf_offset |
Definition at line 374 of file qib_common.h.
__u32 spi_runtime_flags |
Definition at line 292 of file qib_common.h.
__u64 spi_sendbuf_status |
Definition at line 388 of file qib_common.h.
__u64 spi_status |
Definition at line 362 of file qib_common.h.
__u16 spi_subctxt |
Definition at line 267 of file qib_common.h.
__u64 spi_subctxt_rcvegrbuf |
Definition at line 384 of file qib_common.h.
__u64 spi_subctxt_rcvhdr_base |
Definition at line 385 of file qib_common.h.
__u64 spi_subctxt_uregbase |
Definition at line 383 of file qib_common.h.
__u32 spi_sw_version |
Definition at line 264 of file qib_common.h.
__u32 spi_tid_maxsize |
Definition at line 328 of file qib_common.h.
__u32 spi_tidcnt |
Definition at line 280 of file qib_common.h.
__u32 spi_tidegrcnt |
Definition at line 282 of file qib_common.h.
__u16 spi_unit |
Definition at line 366 of file qib_common.h.
__u64 spi_uregbase |
Definition at line 321 of file qib_common.h.
__u64 spu_base_info |
Definition at line 390 of file qib_common.h.
__u32 spu_base_info_size |
Definition at line 372 of file qib_common.h.
__u32 spu_port |
Definition at line 385 of file qib_common.h.
__u32 spu_port_alg |
Definition at line 374 of file qib_common.h.
__u16 spu_subctxt_cnt |
Definition at line 382 of file qib_common.h.
__u16 spu_subctxt_id |
Definition at line 383 of file qib_common.h.
__u32 spu_userversion |
Definition at line 367 of file qib_common.h.