Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | infinipath_stats |
struct | ipath_base_info |
struct | ipath_user_info |
struct | ipath_port_info |
struct | ipath_tid_info |
struct | ipath_cmd |
struct | ipath_iovec |
struct | __ipath_sendpkt |
struct | ipath_diag_pkt |
struct | ipath_diag_xpkt |
struct | ipath_flash |
struct | infinipath_counters |
struct | ipath_header |
struct | ipath_message_header |
struct | ether_header |
Typedefs | |
typedef enum _ipath_ureg | ipath_ureg |
Enumerations | |
enum | _ipath_ureg { ur_rcvhdrtail = 0, ur_rcvhdrhead = 1, ur_rcvegrindextail = 2, ur_rcvegrindexhead = 3, _IPATH_UregMax } |
Functions | |
struct ipath_base_info | __attribute__ ((aligned(8))) |
Packet vector entry. | |
Definition at line 442 of file ipath_common.h.
Definition at line 436 of file ipath_common.h.
#define INFINIPATH_I_OFFSET_MASK 0x1FFF |
Definition at line 707 of file ipath_common.h.
#define INFINIPATH_I_OFFSET_SHIFT 0 |
Definition at line 708 of file ipath_common.h.
#define INFINIPATH_I_PORT_MASK 0xF |
Definition at line 703 of file ipath_common.h.
#define INFINIPATH_I_PORT_SHIFT 24 |
Definition at line 704 of file ipath_common.h.
#define INFINIPATH_I_TID_MASK 0x7FF |
Definition at line 705 of file ipath_common.h.
#define INFINIPATH_I_TID_SHIFT 13 |
Definition at line 706 of file ipath_common.h.
#define INFINIPATH_I_VERS_MASK 0xF |
Definition at line 701 of file ipath_common.h.
#define INFINIPATH_I_VERS_SHIFT 28 |
Definition at line 702 of file ipath_common.h.
#define INFINIPATH_KPF_INTR 0x1 |
Definition at line 711 of file ipath_common.h.
#define INFINIPATH_KPF_SUBPORT_MASK 0x3 |
Definition at line 712 of file ipath_common.h.
#define INFINIPATH_KPF_SUBPORT_SHIFT 1 |
Definition at line 713 of file ipath_common.h.
#define INFINIPATH_MAX_SUBPORT 4 |
Definition at line 715 of file ipath_common.h.
#define INFINIPATH_RHF_EGRINDEX_MASK 0xFFF |
Definition at line 680 of file ipath_common.h.
#define INFINIPATH_RHF_EGRINDEX_SHIFT 16 |
Definition at line 681 of file ipath_common.h.
#define INFINIPATH_RHF_H_ERR_MASK 0xFF800000 |
Definition at line 695 of file ipath_common.h.
#define INFINIPATH_RHF_H_IBERR 0x00800000 |
Definition at line 694 of file ipath_common.h.
#define INFINIPATH_RHF_H_ICRCERR 0x80000000 |
Definition at line 686 of file ipath_common.h.
#define INFINIPATH_RHF_H_IHDRERR 0x04000000 |
Definition at line 691 of file ipath_common.h.
#define INFINIPATH_RHF_H_LENERR 0x10000000 |
Definition at line 689 of file ipath_common.h.
#define INFINIPATH_RHF_H_MKERR 0x01000000 |
Definition at line 693 of file ipath_common.h.
#define INFINIPATH_RHF_H_MTUERR 0x08000000 |
Definition at line 690 of file ipath_common.h.
#define INFINIPATH_RHF_H_PARITYERR 0x20000000 |
Definition at line 688 of file ipath_common.h.
#define INFINIPATH_RHF_H_TIDERR 0x02000000 |
Definition at line 692 of file ipath_common.h.
#define INFINIPATH_RHF_H_VCRCERR 0x40000000 |
Definition at line 687 of file ipath_common.h.
#define INFINIPATH_RHF_HDRQ_OFFSET_MASK 0x7FF |
Definition at line 684 of file ipath_common.h.
#define INFINIPATH_RHF_HDRQ_OFFSET_SHIFT 4 |
Definition at line 685 of file ipath_common.h.
#define INFINIPATH_RHF_L_SWA 0x00008000 |
Definition at line 697 of file ipath_common.h.
#define INFINIPATH_RHF_L_SWB 0x00004000 |
Definition at line 698 of file ipath_common.h.
#define INFINIPATH_RHF_L_USE_EGR 0x80000000 |
Definition at line 696 of file ipath_common.h.
#define INFINIPATH_RHF_LENGTH_MASK 0x7FF |
Definition at line 676 of file ipath_common.h.
#define INFINIPATH_RHF_LENGTH_SHIFT 0 |
Definition at line 677 of file ipath_common.h.
#define INFINIPATH_RHF_RCVTYPE_MASK 0x7 |
Definition at line 678 of file ipath_common.h.
#define INFINIPATH_RHF_RCVTYPE_SHIFT 11 |
Definition at line 679 of file ipath_common.h.
#define INFINIPATH_RHF_SEQ_MASK 0xF |
Definition at line 682 of file ipath_common.h.
#define INFINIPATH_RHF_SEQ_SHIFT 0 |
Definition at line 683 of file ipath_common.h.
#define INFINIPATH_SENDPIOAVAIL_BUSY_SHIFT 1 |
Definition at line 723 of file ipath_common.h.
#define INFINIPATH_SENDPIOAVAIL_CHECK_SHIFT 0 |
Definition at line 724 of file ipath_common.h.
#define INFINIPATH_SP_TEST 0x40 |
Definition at line 718 of file ipath_common.h.
#define INFINIPATH_SP_TESTEBP 0x20 |
Definition at line 719 of file ipath_common.h.
#define INFINIPATH_SP_TRIGGER_SHIFT 15 |
Definition at line 720 of file ipath_common.h.
#define IPATH_AETH_CREDIT_INVAL 0x1F |
Definition at line 782 of file ipath_common.h.
#define IPATH_AETH_CREDIT_MASK 0x1F |
Definition at line 781 of file ipath_common.h.
#define IPATH_AETH_CREDIT_SHIFT 24 |
Definition at line 780 of file ipath_common.h.
#define IPATH_CMD_ARMLAUNCH_CTRL 29 /* armlaunch detection control */ |
Definition at line 449 of file ipath_common.h.
Definition at line 443 of file ipath_common.h.
#define IPATH_CMD_MIN 16 |
Definition at line 434 of file ipath_common.h.
Definition at line 447 of file ipath_common.h.
Definition at line 448 of file ipath_common.h.
Definition at line 437 of file ipath_common.h.
Definition at line 438 of file ipath_common.h.
#define IPATH_CMD_SDMA_COMPLETE 32 /* sdma completion counter request */ |
Definition at line 452 of file ipath_common.h.
Definition at line 451 of file ipath_common.h.
Definition at line 441 of file ipath_common.h.
Definition at line 440 of file ipath_common.h.
Definition at line 439 of file ipath_common.h.
#define IPATH_CMD_UNUSED_1 25 |
Definition at line 445 of file ipath_common.h.
#define IPATH_CMD_UNUSED_2 26 |
Definition at line 446 of file ipath_common.h.
Definition at line 444 of file ipath_common.h.
#define IPATH_DEFAULT_P_KEY 0xFFFF |
Definition at line 778 of file ipath_common.h.
#define IPATH_EAGER_TID_ID INFINIPATH_I_TID_MASK |
Definition at line 787 of file ipath_common.h.
#define IPATH_FLASH_VERSION 2 |
Definition at line 570 of file ipath_common.h.
#define IPATH_HEADER_QUEUE_WORDS 9 |
Definition at line 801 of file ipath_common.h.
#define IPATH_IB_DDR 2 |
Definition at line 94 of file ipath_common.h.
Definition at line 82 of file ipath_common.h.
Definition at line 84 of file ipath_common.h.
Definition at line 81 of file ipath_common.h.
Definition at line 83 of file ipath_common.h.
#define IPATH_IB_LINKACTIVE 2 |
Definition at line 77 of file ipath_common.h.
#define IPATH_IB_LINKARM 1 |
Definition at line 76 of file ipath_common.h.
#define IPATH_IB_LINKDOWN 0 |
Definition at line 75 of file ipath_common.h.
#define IPATH_IB_LINKDOWN_DISABLE 5 |
Definition at line 80 of file ipath_common.h.
#define IPATH_IB_LINKDOWN_ONLY 3 |
Definition at line 78 of file ipath_common.h.
#define IPATH_IB_LINKDOWN_SLEEP 4 |
Definition at line 79 of file ipath_common.h.
#define IPATH_IB_SDR 1 |
Definition at line 93 of file ipath_common.h.
#define IPATH_ITH4X_OPCODE_ENCAP 0x81 |
Definition at line 798 of file ipath_common.h.
#define IPATH_ITH4X_OPCODE_LID_ARP 0x82 |
Definition at line 799 of file ipath_common.h.
#define IPATH_KD_QP 0x656b79 |
Definition at line 70 of file ipath_common.h.
#define IPATH_KERN_SWVERSION ((IPATH_KERN_TYPE<<31) | IPATH_USER_SWVERSION) |
Definition at line 385 of file ipath_common.h.
#define IPATH_KERN_TYPE 0 |
Definition at line 372 of file ipath_common.h.
#define IPATH_LRH_BTH 0x0002 /* 1. word of IB LRH - next header: BTH */ |
Definition at line 773 of file ipath_common.h.
#define IPATH_LRH_GRH 0x0003 /* 1. word of IB LRH - next header: GRH */ |
Definition at line 772 of file ipath_common.h.
#define IPATH_MSN_MASK 0xFFFFFF |
Definition at line 784 of file ipath_common.h.
#define IPATH_MULTICAST_LID_BASE 0xC000 |
Definition at line 786 of file ipath_common.h.
#define IPATH_MULTICAST_QPN 0xFFFFFF |
Definition at line 788 of file ipath_common.h.
#define IPATH_PERMISSIVE_LID 0xFFFF |
Definition at line 779 of file ipath_common.h.
#define IPATH_POLL_TYPE_OVERFLOW 0x02 |
Definition at line 458 of file ipath_common.h.
#define IPATH_POLL_TYPE_URGENT 0x01 |
Definition at line 457 of file ipath_common.h.
#define IPATH_PSN_MASK 0xFFFFFF |
Definition at line 783 of file ipath_common.h.
#define IPATH_QPN_MASK 0xFFFFFF |
Definition at line 785 of file ipath_common.h.
#define IPATH_RUNTIME_FORCE_PIOAVAIL 0x400 |
Definition at line 205 of file ipath_common.h.
#define IPATH_RUNTIME_FORCE_WC_ORDER 0x4 |
Definition at line 200 of file ipath_common.h.
#define IPATH_RUNTIME_HT 0x1 |
Definition at line 198 of file ipath_common.h.
#define IPATH_RUNTIME_MASTER 0x10 |
Definition at line 202 of file ipath_common.h.
#define IPATH_RUNTIME_NODMA_RTAIL 0x80 |
Definition at line 203 of file ipath_common.h.
#define IPATH_RUNTIME_PCIE 0x2 |
Definition at line 199 of file ipath_common.h.
#define IPATH_RUNTIME_PIO_REGSWAPPED 0x800 |
Definition at line 206 of file ipath_common.h.
#define IPATH_RUNTIME_RCVHDR_COPY 0x8 |
Definition at line 201 of file ipath_common.h.
#define IPATH_RUNTIME_SDMA 0x200 |
Definition at line 204 of file ipath_common.h.
#define IPATH_SRC_OUI_1 0x00 |
Definition at line 44 of file ipath_common.h.
#define IPATH_SRC_OUI_2 0x11 |
Definition at line 45 of file ipath_common.h.
#define IPATH_SRC_OUI_3 0x75 |
Definition at line 46 of file ipath_common.h.
#define IPATH_STATUS_ADMIN_DISABLED 0x4 |
Definition at line 169 of file ipath_common.h.
#define IPATH_STATUS_CHIP_PRESENT 0x20 |
Definition at line 171 of file ipath_common.h.
#define IPATH_STATUS_DISABLED 0x2 /* hardware disabled */ |
Definition at line 167 of file ipath_common.h.
#define IPATH_STATUS_HWERROR 0x200 |
Definition at line 179 of file ipath_common.h.
#define IPATH_STATUS_IB_CONF 0x80 |
Definition at line 175 of file ipath_common.h.
#define IPATH_STATUS_IB_NOCABLE 0x100 |
Definition at line 177 of file ipath_common.h.
#define IPATH_STATUS_IB_READY 0x40 |
Definition at line 173 of file ipath_common.h.
#define IPATH_STATUS_INITTED 0x1 /* basic initialization done */ |
Definition at line 166 of file ipath_common.h.
#define IPATH_USER_SWMAJOR 1 |
Definition at line 359 of file ipath_common.h.
#define IPATH_USER_SWMINOR 6 |
Definition at line 368 of file ipath_common.h.
#define IPATH_USER_SWVERSION ((IPATH_USER_SWMAJOR<<16) | IPATH_USER_SWMINOR) |
Definition at line 370 of file ipath_common.h.
#define IPS_PROTO_VERSION 2 |
Definition at line 52 of file ipath_common.h.
#define RCVHQ_RCV_TYPE_EAGER 1 |
Definition at line 792 of file ipath_common.h.
#define RCVHQ_RCV_TYPE_ERROR 3 |
Definition at line 794 of file ipath_common.h.
#define RCVHQ_RCV_TYPE_EXPECTED 0 |
Definition at line 791 of file ipath_common.h.
#define RCVHQ_RCV_TYPE_NON_KD 2 |
Definition at line 793 of file ipath_common.h.
#define SIZE_OF_CRC 1 |
Definition at line 776 of file ipath_common.h.
typedef enum _ipath_ureg ipath_ureg |
enum _ipath_ureg |
Definition at line 184 of file ipath_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.
__u64 __spi_uregbase |
Definition at line 405 of file ipath_common.h.
__u32 spi_filler_for_align |
Definition at line 457 of file ipath_common.h.
__u32 spi_hw_version |
Definition at line 347 of file ipath_common.h.
__u32 spi_mtu |
Definition at line 357 of file ipath_common.h.
__u32 spi_nports |
Definition at line 448 of file ipath_common.h.
__u32 spi_pioalign |
Definition at line 417 of file ipath_common.h.
__u64 spi_pioavailaddr |
Definition at line 438 of file ipath_common.h.
__u64 spi_piobufbase |
Definition at line 432 of file ipath_common.h.
__u32 spi_piocnt |
Definition at line 425 of file ipath_common.h.
__u32 spi_pioindex |
Definition at line 423 of file ipath_common.h.
__u32 spi_piosize |
Definition at line 363 of file ipath_common.h.
__u16 spi_port |
Definition at line 351 of file ipath_common.h.
__u64 spi_port_rcvegrbuf |
Definition at line 468 of file ipath_common.h.
__u64 spi_port_rcvhdr_base |
Definition at line 469 of file ipath_common.h.
__u64 spi_port_rcvhdr_tailaddr |
Definition at line 470 of file ipath_common.h.
__u64 spi_port_uregbase |
Definition at line 467 of file ipath_common.h.
__u32 spi_qpair |
Definition at line 399 of file ipath_common.h.
__u64 spi_rcv_egrbufs |
Definition at line 385 of file ipath_common.h.
__u32 spi_rcv_egrbufsize |
Definition at line 393 of file ipath_common.h.
__u32 spi_rcv_egrbuftotlen |
Definition at line 456 of file ipath_common.h.
__u32 spi_rcv_egrchunksize |
Definition at line 454 of file ipath_common.h.
__u32 spi_rcv_egrperchunk |
Definition at line 452 of file ipath_common.h.
__u64 spi_rcvhdr_base |
Definition at line 380 of file ipath_common.h.
__u32 spi_rcvhdr_cnt |
Definition at line 374 of file ipath_common.h.
__u64 spi_rcvhdr_tailaddr |
Definition at line 459 of file ipath_common.h.
__u32 spi_rcvhdrent_size |
Definition at line 369 of file ipath_common.h.
__u32 spi_runtime_flags |
Definition at line 377 of file ipath_common.h.
__u64 spi_status |
Definition at line 445 of file ipath_common.h.
__u16 spi_subport |
Definition at line 352 of file ipath_common.h.
__u64 spi_subport_rcvegrbuf |
Definition at line 463 of file ipath_common.h.
__u64 spi_subport_rcvhdr_base |
Definition at line 464 of file ipath_common.h.
__u64 spi_subport_uregbase |
Definition at line 462 of file ipath_common.h.
__u32 spi_sw_version |
Definition at line 349 of file ipath_common.h.
__u32 spi_tid_maxsize |
Definition at line 412 of file ipath_common.h.
__u32 spi_tidcnt |
Definition at line 365 of file ipath_common.h.
__u32 spi_tidegrcnt |
Definition at line 367 of file ipath_common.h.
__u32 spi_unit |
Definition at line 450 of file ipath_common.h.
__u64 spu_base_info |
Definition at line 465 of file ipath_common.h.
__u32 spu_base_info_size |
Definition at line 441 of file ipath_common.h.
__u32 spu_rcvhdrcnt |
Definition at line 438 of file ipath_common.h.
__u32 spu_rcvhdrsize |
Definition at line 449 of file ipath_common.h.
__u16 spu_subport_cnt |
Definition at line 457 of file ipath_common.h.
__u16 spu_subport_id |
Definition at line 458 of file ipath_common.h.
__u32 spu_unused |
Definition at line 460 of file ipath_common.h.
__u32 spu_userversion |
Definition at line 435 of file ipath_common.h.