iPXE
Data Structures | Macros | Functions | Variables
ib_mad.h File Reference

Infiniband management datagrams. More...

#include <stdint.h>
#include <ipxe/ib_packet.h>

Go to the source code of this file.

Data Structures

struct  ib_smp_hdr
 A subnet management header. More...
 
struct  ib_node_desc
 A Node Description attribute. More...
 
struct  ib_node_info
 A Node Information attribute. More...
 
struct  ib_guid_info
 A GUID Information attribute. More...
 
struct  ib_port_info
 A Port Information attribute. More...
 
struct  ib_pkey_table
 A Partition Key Table attribute. More...
 
union  ib_smp_data
 A subnet management attribute. More...
 
struct  ib_smp_dr_path
 A subnet management directed route path. More...
 
struct  ib_smp_class_specific
 Subnet management MAD class-specific data. More...
 
struct  ib_rmpp_hdr
 
struct  ib_sa_hdr
 
struct  ib_service_record
 
struct  ib_path_record
 
struct  ib_mc_member_record
 
union  ib_sa_data
 
struct  ib_cm_common
 Communication management common fields. More...
 
struct  ib_cm_path
 A communication management path. More...
 
struct  ib_cm_connect_request
 A communication management connection request. More...
 
struct  ib_cm_connect_reject
 A communication management connection rejection. More...
 
struct  ib_cm_connect_reply
 A communication management connection reply. More...
 
struct  ib_cm_ready_to_use
 A communication management ready to use reply. More...
 
struct  ib_cm_disconnect_request
 A communication management disconnection request. More...
 
struct  ib_cm_disconnect_reply
 A communication management disconnection reply. More...
 
union  ib_cm_data
 A communication management attribute. More...
 
union  ib_mad_class_specific
 Management datagram class_specific data. More...
 
struct  ib_mad_tid
 A management datagram transaction identifier. More...
 
struct  ib_mad_hdr
 A management datagram common header. More...
 
struct  ib_mad_smp
 A subnet management MAD. More...
 
struct  ib_mad_sa
 A subnet administration MAD. More...
 
struct  ib_mad_cm
 A communication management MAD. More...
 
union  ib_mad
 A management datagram. More...
 

Macros

#define IB_SMP_CLASS_VERSION   1
 Subnet management class version. More...
 
#define IB_SMP_STATUS_D_INBOUND   0x8000
 Subnet management direction bit. More...
 
#define IB_SMP_ATTR_NOTICE   0x0002
 
#define IB_SMP_ATTR_NODE_DESC   0x0010
 
#define IB_SMP_ATTR_NODE_INFO   0x0011
 
#define IB_SMP_ATTR_SWITCH_INFO   0x0012
 
#define IB_SMP_ATTR_GUID_INFO   0x0014
 
#define IB_SMP_ATTR_PORT_INFO   0x0015
 
#define IB_SMP_ATTR_PKEY_TABLE   0x0016
 
#define IB_SMP_ATTR_SL_TO_VL_TABLE   0x0017
 
#define IB_SMP_ATTR_VL_ARB_TABLE   0x0018
 
#define IB_SMP_ATTR_LINEAR_FORWARD_TABLE   0x0019
 
#define IB_SMP_ATTR_RANDOM_FORWARD_TABLE   0x001A
 
#define IB_SMP_ATTR_MCAST_FORWARD_TABLE   0x001B
 
#define IB_SMP_ATTR_SM_INFO   0x0020
 
#define IB_SMP_ATTR_VENDOR_DIAG   0x0030
 
#define IB_SMP_ATTR_LED_INFO   0x0031
 
#define IB_SMP_ATTR_VENDOR_MASK   0xFF00
 
#define IB_NODE_TYPE_HCA   0x01
 
#define IB_NODE_TYPE_SWITCH   0x02
 
#define IB_NODE_TYPE_ROUTER   0x03
 
#define IB_LINK_WIDTH_1X   0x01
 
#define IB_LINK_WIDTH_4X   0x02
 
#define IB_LINK_WIDTH_8X   0x04
 
#define IB_LINK_WIDTH_12X   0x08
 
#define IB_LINK_SPEED_SDR   0x01
 
#define IB_LINK_SPEED_DDR   0x02
 
#define IB_LINK_SPEED_QDR   0x04
 
#define IB_LINK_SPEED_FDR10   0x08
 
#define IB_LINK_SPEED_FDR   0x10
 
#define IB_LINK_SPEED_EDR   0x20
 
#define IB_PORT_STATE_DOWN   0x01
 
#define IB_PORT_STATE_INIT   0x02
 
#define IB_PORT_STATE_ARMED   0x03
 
#define IB_PORT_STATE_ACTIVE   0x04
 
#define IB_PORT_PHYS_STATE_SLEEP   0x01
 
#define IB_PORT_PHYS_STATE_POLLING   0x02
 
#define IB_MTU_256   0x01
 
#define IB_MTU_512   0x02
 
#define IB_MTU_1024   0x03
 
#define IB_MTU_2048   0x04
 
#define IB_MTU_4096   0x05
 
#define IB_VL_0   0x01
 
#define IB_VL_0_1   0x02
 
#define IB_VL_0_3   0x03
 
#define IB_VL_0_7   0x04
 
#define IB_VL_0_14   0x05
 
#define IB_SA_CLASS_VERSION   2
 
#define IB_SA_METHOD_DELETE_RESP   0x95
 
#define IB_SA_ATTR_SERVICE_REC   0x31
 
#define IB_SA_ATTR_PATH_REC   0x35
 
#define IB_SA_ATTR_MC_MEMBER_REC   0x38
 
#define IB_SA_SERVICE_REC_NAME   (1<<6)
 
#define IB_SA_PATH_REC_DGID   (1<<2)
 
#define IB_SA_PATH_REC_SGID   (1<<3)
 
#define IB_SA_MCMEMBER_REC_MGID   (1<<0)
 
#define IB_SA_MCMEMBER_REC_PORT_GID   (1<<1)
 
#define IB_SA_MCMEMBER_REC_QKEY   (1<<2)
 
#define IB_SA_MCMEMBER_REC_MLID   (1<<3)
 
#define IB_SA_MCMEMBER_REC_MTU_SELECTOR   (1<<4)
 
#define IB_SA_MCMEMBER_REC_MTU   (1<<5)
 
#define IB_SA_MCMEMBER_REC_TRAFFIC_CLASS   (1<<6)
 
#define IB_SA_MCMEMBER_REC_PKEY   (1<<7)
 
#define IB_SA_MCMEMBER_REC_RATE_SELECTOR   (1<<8)
 
#define IB_SA_MCMEMBER_REC_RATE   (1<<9)
 
#define IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME_SELECTOR   (1<<10)
 
#define IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME   (1<<11)
 
#define IB_SA_MCMEMBER_REC_SL   (1<<12)
 
#define IB_SA_MCMEMBER_REC_FLOW_LABEL   (1<<13)
 
#define IB_SA_MCMEMBER_REC_HOP_LIMIT   (1<<14)
 
#define IB_SA_MCMEMBER_REC_SCOPE   (1<<15)
 
#define IB_SA_MCMEMBER_REC_JOIN_STATE   (1<<16)
 
#define IB_SA_MCMEMBER_REC_PROXY_JOIN   (1<<17)
 
#define IB_CM_CLASS_VERSION   2
 Communication management class version. More...
 
#define IB_CM_ATTR_CLASS_PORT_INFO   0x0001
 
#define IB_CM_ATTR_CONNECT_REQUEST   0x0010
 
#define IB_CM_ATTR_MSG_RCPT_ACK   0x0011
 
#define IB_CM_ATTR_CONNECT_REJECT   0x0012
 
#define IB_CM_ATTR_CONNECT_REPLY   0x0013
 
#define IB_CM_ATTR_READY_TO_USE   0x0014
 
#define IB_CM_ATTR_DISCONNECT_REQUEST   0x0015
 
#define IB_CM_ATTR_DISCONNECT_REPLY   0x0016
 
#define IB_CM_ATTR_SERVICE_ID_RES_REQ   0x0016
 
#define IB_CM_ATTR_SERVICE_ID_RES_REQ_RESP   0x0018
 
#define IB_CM_ATTR_LOAD_ALTERNATE_PATH   0x0019
 
#define IB_CM_ATTR_ALTERNATE_PATH_RESPONSE   0x001a
 
#define IB_CM_TRANSPORT_RC   0
 CM transport types. More...
 
#define IB_CM_TRANSPORT_UC   1
 
#define IB_CM_TRANSPORT_RD   2
 
#define IB_CM_REJECT_BAD_SERVICE_ID   8
 CM rejection reasons. More...
 
#define IB_CM_REJECT_STALE_CONN   10
 
#define IB_CM_REJECT_CONSUMER   28
 
#define IB_MGMT_BASE_VERSION   1
 
#define IB_MGMT_CLASS_SUBN_LID_ROUTED   0x01
 
#define IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE   0x81
 
#define IB_MGMT_CLASS_SUBN_ADM   0x03
 
#define IB_MGMT_CLASS_PERF_MGMT   0x04
 
#define IB_MGMT_CLASS_BM   0x05
 
#define IB_MGMT_CLASS_DEVICE_MGMT   0x06
 
#define IB_MGMT_CLASS_CM   0x07
 
#define IB_MGMT_CLASS_SNMP   0x08
 
#define IB_MGMT_CLASS_VENDOR_RANGE2_START   0x30
 
#define IB_MGMT_CLASS_VENDOR_RANGE2_END   0x4f
 
#define IB_MGMT_CLASS_MASK   0x7f
 
#define IB_MGMT_METHOD_GET   0x01
 
#define IB_MGMT_METHOD_SET   0x02
 
#define IB_MGMT_METHOD_GET_RESP   0x81
 
#define IB_MGMT_METHOD_SEND   0x03
 
#define IB_MGMT_METHOD_TRAP   0x05
 
#define IB_MGMT_METHOD_REPORT   0x06
 
#define IB_MGMT_METHOD_REPORT_RESP   0x86
 
#define IB_MGMT_METHOD_TRAP_REPRESS   0x07
 
#define IB_MGMT_METHOD_DELETE   0x15
 
#define IB_MGMT_STATUS_OK   0x0000
 
#define IB_MGMT_STATUS_BAD_VERSION   0x0001
 
#define IB_MGMT_STATUS_UNSUPPORTED_METHOD   0x0002
 
#define IB_MGMT_STATUS_UNSUPPORTED_METHOD_ATTR   0x0003
 
#define IB_MGMT_STATUS_INVALID_VALUE   0x0004
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
struct ib_smp_hdr __attribute__ ((packed))
 

Variables

uint64_t mkey
 
uint16_t slid
 
uint16_t dlid
 
uint8_t reserved [28]
 Reserved. More...
 
char node_string [64]
 
uint8_t base_version
 
uint8_t class_version
 
uint8_t node_type
 
uint8_t num_ports
 
union ib_guid sys_guid
 
union ib_guid node_guid
 
union ib_guid port_guid
 
uint16_t partition_cap
 
uint16_t device_id
 
uint32_t revision
 
uint8_t local_port_num
 
uint8_t vendor_id [3]
 
uint8_t guid [8][8]
 
uint8_t gid_prefix [8]
 
uint16_t lid
 
uint16_t mastersm_lid
 
uint32_t cap_mask
 
uint16_t diag_code
 
uint16_t mkey_lease_period
 
uint8_t link_width_enabled
 
uint8_t link_width_supported
 
uint8_t link_width_active
 
uint8_t link_speed_supported__port_state
 
uint8_t port_phys_state__link_down_def_state
 
uint8_t mkey_prot_bits__lmc
 
uint8_t link_speed_active__link_speed_enabled
 
uint8_t neighbour_mtu__mastersm_sl
 
uint8_t vl_cap__init_type
 
uint8_t vl_high_limit
 
uint8_t vl_arbitration_high_cap
 
uint8_t vl_arbitration_low_cap
 
uint8_t init_type_reply__mtu_cap
 
uint8_t vl_stall_count__hoq_life
 
uint8_t operational_vls__enforcement
 
uint16_t mkey_violations
 
uint16_t pkey_violations
 
uint16_t qkey_violations
 
uint8_t guid_cap
 
uint8_t client_reregister__subnet_timeout
 
uint8_t resp_time_value
 
uint8_t local_phy_errors__overrun_errors
 
uint16_t max_credit_hint
 
uint32_t link_round_trip_latency
 
uint16_t pkey [32]
 Partition key. More...
 
struct ib_node_desc node_desc
 
struct ib_node_info node_info
 
struct ib_guid_info guid_info
 
struct ib_port_info port_info
 
struct ib_pkey_table pkey_table
 
uint8_t bytes [64]
 
uint8_t hops [64]
 
uint8_t hop_pointer
 
uint8_t hop_count
 
uint32_t raw [3]
 
uint32_t sm_key [2]
 
uint16_t attrib_offset
 
uint32_t comp_mask [2]
 
uint64_t id
 
union ib_gid gid
 
uint32_t lease
 
uint8_t key [16]
 
char name [64]
 
uint8_t data8 [16]
 
uint16_t data16 [8]
 
uint32_t data32 [4]
 
uint64_t data64 [2]
 
uint32_t reserved0 [2]
 Reserved. More...
 
union ib_gid dgid
 
union ib_gid sgid
 
uint32_t hop_limit__flow_label__raw_traffic
 
uint32_t pkey__numb_path__reversible__tclass
 
uint8_t reserved1
 Reserved. More...
 
uint8_t reserved__sl
 
uint8_t mtu_selector__mtu
 
uint8_t rate_selector__rate
 
uint32_t preference__packet_lifetime__packet_lifetime_selector
 
uint32_t reserved2 [35]
 
union ib_gid mgid
 
union ib_gid port_gid
 
uint32_t qkey
 
uint16_t mlid
 
uint8_t tclass
 
uint8_t packet_lifetime_selector__packet_lifetime
 
uint32_t sl__flow_label__hop_limit
 
uint8_t scope__join_state
 
uint8_t proxy_join__reserved
 
struct ib_service_record service_record
 
struct ib_path_record path_record
 
struct ib_mc_member_record mc_member_record
 
uint32_t local_id
 Local communication ID. More...
 
uint32_t remote_id
 Remote communication ID. More...
 
uint16_t local_lid
 Local port LID. More...
 
uint16_t remote_lid
 Remote port LID. More...
 
union ib_gid local_gid
 Local port GID. More...
 
union ib_gid remote_gid
 Remote port GID. More...
 
uint32_t flow_label__rate
 Flow label and rate. More...
 
uint8_t tc
 Traffic class. More...
 
uint8_t hop_limit
 Hop limit. More...
 
uint8_t sl__subnet_local
 SL and subnet local. More...
 
uint8_t local_ack_timeout
 Local ACK timeout. More...
 
union ib_guid service_id
 Service ID. More...
 
union ib_guid local_ca
 Local CA GUID. More...
 
uint32_t local_qkey
 Local queue key. More...
 
uint32_t local_qpn__responder_resources
 Local QPN and responder resources. More...
 
uint32_t local_eecn__initiator_depth
 Local EECN and initiator depth. More...
 
uint32_t remote_eecn__remote_timeout__service_type__ee_flow_ctrl
 Remote EECN, remote CM response timeout, transport service type, EE flow control. More...
 
uint32_t starting_psn__local_timeout__retry_count
 Starting PSN, local CM response timeout and retry count. More...
 
uint8_t payload_mtu__rdc_exists__rnr_retry
 Path packet payload MTU, RDC exists, RNR retry count. More...
 
uint8_t max_cm_retries__srq
 Max CM retries and SRQ. More...
 
struct ib_cm_path primary
 Primary path. More...
 
struct ib_cm_path alternate
 Alternate path. More...
 
uint8_t private_data [92]
 Private data. More...
 
uint8_t message
 Message rejected. More...
 
uint8_t info_len
 Reject information length. More...
 
uint16_t reason
 Rejection reason. More...
 
uint8_t info [72]
 Additional rejection information. More...
 
uint32_t local_qpn
 Local QPN. More...
 
uint32_t local_eecn
 Local EECN. More...
 
uint32_t starting_psn
 Starting PSN. More...
 
uint8_t responder_resources
 Responder resources. More...
 
uint8_t initiator_depth
 Initiator depth. More...
 
uint8_t target_ack_delay__failover_accepted__ee_flow_ctrl
 Target ACK delay, failover accepted, and end-to-end flow control. More...
 
uint8_t rnr_retry__srq
 RNR retry count, SRQ. More...
 
uint32_t remote_qpn_eecn
 Remote QPN/EECN. More...
 
struct ib_cm_common common
 
struct ib_cm_connect_request connect_request
 
struct ib_cm_connect_reject connect_reject
 
struct ib_cm_connect_reply connect_reply
 
struct ib_cm_ready_to_use ready_to_use
 
struct ib_cm_disconnect_request disconnect_request
 
struct ib_cm_disconnect_reply disconnect_reply
 
struct ib_smp_class_specific smp
 
uint32_t high
 
uint32_t low
 
uint8_t mgmt_class
 
uint8_t method
 
uint16_t status
 
union ib_mad_class_specific class_specific
 
struct ib_mad_tid tid
 
uint16_t attr_id
 
uint32_t attr_mod
 
struct ib_mad_hdr mad_hdr
 
struct ib_smp_hdr smp_hdr
 
union ib_smp_data smp_data
 
struct ib_smp_dr_path initial_path
 
struct ib_smp_dr_path return_path
 
struct ib_rmpp_hdr rmpp_hdr
 
struct ib_sa_hdr sa_hdr
 
union ib_sa_data sa_data
 
union ib_cm_data cm_data
 
struct ib_mad_hdr hdr
 
struct ib_mad_sa sa
 
struct ib_mad_cm cm
 

Detailed Description

Infiniband management datagrams.

Definition in file ib_mad.h.

Macro Definition Documentation

◆ IB_SMP_CLASS_VERSION

#define IB_SMP_CLASS_VERSION   1

Subnet management class version.

Definition at line 34 of file ib_mad.h.

◆ IB_SMP_STATUS_D_INBOUND

#define IB_SMP_STATUS_D_INBOUND   0x8000

Subnet management direction bit.

This bit resides in the "status" field in the MAD header.

Definition at line 40 of file ib_mad.h.

◆ IB_SMP_ATTR_NOTICE

#define IB_SMP_ATTR_NOTICE   0x0002

Definition at line 43 of file ib_mad.h.

◆ IB_SMP_ATTR_NODE_DESC

#define IB_SMP_ATTR_NODE_DESC   0x0010

Definition at line 44 of file ib_mad.h.

◆ IB_SMP_ATTR_NODE_INFO

#define IB_SMP_ATTR_NODE_INFO   0x0011

Definition at line 45 of file ib_mad.h.

◆ IB_SMP_ATTR_SWITCH_INFO

#define IB_SMP_ATTR_SWITCH_INFO   0x0012

Definition at line 46 of file ib_mad.h.

◆ IB_SMP_ATTR_GUID_INFO

#define IB_SMP_ATTR_GUID_INFO   0x0014

Definition at line 47 of file ib_mad.h.

◆ IB_SMP_ATTR_PORT_INFO

#define IB_SMP_ATTR_PORT_INFO   0x0015

Definition at line 48 of file ib_mad.h.

◆ IB_SMP_ATTR_PKEY_TABLE

#define IB_SMP_ATTR_PKEY_TABLE   0x0016

Definition at line 49 of file ib_mad.h.

◆ IB_SMP_ATTR_SL_TO_VL_TABLE

#define IB_SMP_ATTR_SL_TO_VL_TABLE   0x0017

Definition at line 50 of file ib_mad.h.

◆ IB_SMP_ATTR_VL_ARB_TABLE

#define IB_SMP_ATTR_VL_ARB_TABLE   0x0018

Definition at line 51 of file ib_mad.h.

◆ IB_SMP_ATTR_LINEAR_FORWARD_TABLE

#define IB_SMP_ATTR_LINEAR_FORWARD_TABLE   0x0019

Definition at line 52 of file ib_mad.h.

◆ IB_SMP_ATTR_RANDOM_FORWARD_TABLE

#define IB_SMP_ATTR_RANDOM_FORWARD_TABLE   0x001A

Definition at line 53 of file ib_mad.h.

◆ IB_SMP_ATTR_MCAST_FORWARD_TABLE

#define IB_SMP_ATTR_MCAST_FORWARD_TABLE   0x001B

Definition at line 54 of file ib_mad.h.

◆ IB_SMP_ATTR_SM_INFO

#define IB_SMP_ATTR_SM_INFO   0x0020

Definition at line 55 of file ib_mad.h.

◆ IB_SMP_ATTR_VENDOR_DIAG

#define IB_SMP_ATTR_VENDOR_DIAG   0x0030

Definition at line 56 of file ib_mad.h.

◆ IB_SMP_ATTR_LED_INFO

#define IB_SMP_ATTR_LED_INFO   0x0031

Definition at line 57 of file ib_mad.h.

◆ IB_SMP_ATTR_VENDOR_MASK

#define IB_SMP_ATTR_VENDOR_MASK   0xFF00

Definition at line 58 of file ib_mad.h.

◆ IB_NODE_TYPE_HCA

#define IB_NODE_TYPE_HCA   0x01

Definition at line 88 of file ib_mad.h.

◆ IB_NODE_TYPE_SWITCH

#define IB_NODE_TYPE_SWITCH   0x02

Definition at line 89 of file ib_mad.h.

◆ IB_NODE_TYPE_ROUTER

#define IB_NODE_TYPE_ROUTER   0x03

Definition at line 90 of file ib_mad.h.

◆ IB_LINK_WIDTH_1X

#define IB_LINK_WIDTH_1X   0x01

Definition at line 139 of file ib_mad.h.

◆ IB_LINK_WIDTH_4X

#define IB_LINK_WIDTH_4X   0x02

Definition at line 140 of file ib_mad.h.

◆ IB_LINK_WIDTH_8X

#define IB_LINK_WIDTH_8X   0x04

Definition at line 141 of file ib_mad.h.

◆ IB_LINK_WIDTH_12X

#define IB_LINK_WIDTH_12X   0x08

Definition at line 142 of file ib_mad.h.

◆ IB_LINK_SPEED_SDR

#define IB_LINK_SPEED_SDR   0x01

Definition at line 144 of file ib_mad.h.

◆ IB_LINK_SPEED_DDR

#define IB_LINK_SPEED_DDR   0x02

Definition at line 145 of file ib_mad.h.

◆ IB_LINK_SPEED_QDR

#define IB_LINK_SPEED_QDR   0x04

Definition at line 146 of file ib_mad.h.

◆ IB_LINK_SPEED_FDR10

#define IB_LINK_SPEED_FDR10   0x08

Definition at line 147 of file ib_mad.h.

◆ IB_LINK_SPEED_FDR

#define IB_LINK_SPEED_FDR   0x10

Definition at line 148 of file ib_mad.h.

◆ IB_LINK_SPEED_EDR

#define IB_LINK_SPEED_EDR   0x20

Definition at line 149 of file ib_mad.h.

◆ IB_PORT_STATE_DOWN

#define IB_PORT_STATE_DOWN   0x01

Definition at line 151 of file ib_mad.h.

◆ IB_PORT_STATE_INIT

#define IB_PORT_STATE_INIT   0x02

Definition at line 152 of file ib_mad.h.

◆ IB_PORT_STATE_ARMED

#define IB_PORT_STATE_ARMED   0x03

Definition at line 153 of file ib_mad.h.

◆ IB_PORT_STATE_ACTIVE

#define IB_PORT_STATE_ACTIVE   0x04

Definition at line 154 of file ib_mad.h.

◆ IB_PORT_PHYS_STATE_SLEEP

#define IB_PORT_PHYS_STATE_SLEEP   0x01

Definition at line 156 of file ib_mad.h.

◆ IB_PORT_PHYS_STATE_POLLING

#define IB_PORT_PHYS_STATE_POLLING   0x02

Definition at line 157 of file ib_mad.h.

◆ IB_MTU_256

#define IB_MTU_256   0x01

Definition at line 159 of file ib_mad.h.

◆ IB_MTU_512

#define IB_MTU_512   0x02

Definition at line 160 of file ib_mad.h.

◆ IB_MTU_1024

#define IB_MTU_1024   0x03

Definition at line 161 of file ib_mad.h.

◆ IB_MTU_2048

#define IB_MTU_2048   0x04

Definition at line 162 of file ib_mad.h.

◆ IB_MTU_4096

#define IB_MTU_4096   0x05

Definition at line 163 of file ib_mad.h.

◆ IB_VL_0

#define IB_VL_0   0x01

Definition at line 165 of file ib_mad.h.

◆ IB_VL_0_1

#define IB_VL_0_1   0x02

Definition at line 166 of file ib_mad.h.

◆ IB_VL_0_3

#define IB_VL_0_3   0x03

Definition at line 167 of file ib_mad.h.

◆ IB_VL_0_7

#define IB_VL_0_7   0x04

Definition at line 168 of file ib_mad.h.

◆ IB_VL_0_14

#define IB_VL_0_14   0x05

Definition at line 169 of file ib_mad.h.

◆ IB_SA_CLASS_VERSION

#define IB_SA_CLASS_VERSION   2

Definition at line 207 of file ib_mad.h.

◆ IB_SA_METHOD_DELETE_RESP

#define IB_SA_METHOD_DELETE_RESP   0x95

Definition at line 209 of file ib_mad.h.

◆ IB_SA_ATTR_SERVICE_REC

#define IB_SA_ATTR_SERVICE_REC   0x31

Definition at line 222 of file ib_mad.h.

◆ IB_SA_ATTR_PATH_REC

#define IB_SA_ATTR_PATH_REC   0x35

Definition at line 223 of file ib_mad.h.

◆ IB_SA_ATTR_MC_MEMBER_REC

#define IB_SA_ATTR_MC_MEMBER_REC   0x38

Definition at line 224 of file ib_mad.h.

◆ IB_SA_SERVICE_REC_NAME

#define IB_SA_SERVICE_REC_NAME   (1<<6)

Definition at line 240 of file ib_mad.h.

◆ IB_SA_PATH_REC_DGID

#define IB_SA_PATH_REC_DGID   (1<<2)

Definition at line 258 of file ib_mad.h.

◆ IB_SA_PATH_REC_SGID

#define IB_SA_PATH_REC_SGID   (1<<3)

Definition at line 259 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_MGID

#define IB_SA_MCMEMBER_REC_MGID   (1<<0)

Definition at line 278 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_PORT_GID

#define IB_SA_MCMEMBER_REC_PORT_GID   (1<<1)

Definition at line 279 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_QKEY

#define IB_SA_MCMEMBER_REC_QKEY   (1<<2)

Definition at line 280 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_MLID

#define IB_SA_MCMEMBER_REC_MLID   (1<<3)

Definition at line 281 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_MTU_SELECTOR

#define IB_SA_MCMEMBER_REC_MTU_SELECTOR   (1<<4)

Definition at line 282 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_MTU

#define IB_SA_MCMEMBER_REC_MTU   (1<<5)

Definition at line 283 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_TRAFFIC_CLASS

#define IB_SA_MCMEMBER_REC_TRAFFIC_CLASS   (1<<6)

Definition at line 284 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_PKEY

#define IB_SA_MCMEMBER_REC_PKEY   (1<<7)

Definition at line 285 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_RATE_SELECTOR

#define IB_SA_MCMEMBER_REC_RATE_SELECTOR   (1<<8)

Definition at line 286 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_RATE

#define IB_SA_MCMEMBER_REC_RATE   (1<<9)

Definition at line 287 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME_SELECTOR

#define IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME_SELECTOR   (1<<10)

Definition at line 288 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME

#define IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME   (1<<11)

Definition at line 289 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_SL

#define IB_SA_MCMEMBER_REC_SL   (1<<12)

Definition at line 290 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_FLOW_LABEL

#define IB_SA_MCMEMBER_REC_FLOW_LABEL   (1<<13)

Definition at line 291 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_HOP_LIMIT

#define IB_SA_MCMEMBER_REC_HOP_LIMIT   (1<<14)

Definition at line 292 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_SCOPE

#define IB_SA_MCMEMBER_REC_SCOPE   (1<<15)

Definition at line 293 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_JOIN_STATE

#define IB_SA_MCMEMBER_REC_JOIN_STATE   (1<<16)

Definition at line 294 of file ib_mad.h.

◆ IB_SA_MCMEMBER_REC_PROXY_JOIN

#define IB_SA_MCMEMBER_REC_PROXY_JOIN   (1<<17)

Definition at line 295 of file ib_mad.h.

◆ IB_CM_CLASS_VERSION

#define IB_CM_CLASS_VERSION   2

Communication management class version.

Definition at line 311 of file ib_mad.h.

◆ IB_CM_ATTR_CLASS_PORT_INFO

#define IB_CM_ATTR_CLASS_PORT_INFO   0x0001

Definition at line 314 of file ib_mad.h.

◆ IB_CM_ATTR_CONNECT_REQUEST

#define IB_CM_ATTR_CONNECT_REQUEST   0x0010

Definition at line 315 of file ib_mad.h.

◆ IB_CM_ATTR_MSG_RCPT_ACK

#define IB_CM_ATTR_MSG_RCPT_ACK   0x0011

Definition at line 316 of file ib_mad.h.

◆ IB_CM_ATTR_CONNECT_REJECT

#define IB_CM_ATTR_CONNECT_REJECT   0x0012

Definition at line 317 of file ib_mad.h.

◆ IB_CM_ATTR_CONNECT_REPLY

#define IB_CM_ATTR_CONNECT_REPLY   0x0013

Definition at line 318 of file ib_mad.h.

◆ IB_CM_ATTR_READY_TO_USE

#define IB_CM_ATTR_READY_TO_USE   0x0014

Definition at line 319 of file ib_mad.h.

◆ IB_CM_ATTR_DISCONNECT_REQUEST

#define IB_CM_ATTR_DISCONNECT_REQUEST   0x0015

Definition at line 320 of file ib_mad.h.

◆ IB_CM_ATTR_DISCONNECT_REPLY

#define IB_CM_ATTR_DISCONNECT_REPLY   0x0016

Definition at line 321 of file ib_mad.h.

◆ IB_CM_ATTR_SERVICE_ID_RES_REQ

#define IB_CM_ATTR_SERVICE_ID_RES_REQ   0x0016

Definition at line 322 of file ib_mad.h.

◆ IB_CM_ATTR_SERVICE_ID_RES_REQ_RESP

#define IB_CM_ATTR_SERVICE_ID_RES_REQ_RESP   0x0018

Definition at line 323 of file ib_mad.h.

◆ IB_CM_ATTR_LOAD_ALTERNATE_PATH

#define IB_CM_ATTR_LOAD_ALTERNATE_PATH   0x0019

Definition at line 324 of file ib_mad.h.

◆ IB_CM_ATTR_ALTERNATE_PATH_RESPONSE

#define IB_CM_ATTR_ALTERNATE_PATH_RESPONSE   0x001a

Definition at line 325 of file ib_mad.h.

◆ IB_CM_TRANSPORT_RC

#define IB_CM_TRANSPORT_RC   0

CM transport types.

Definition at line 401 of file ib_mad.h.

◆ IB_CM_TRANSPORT_UC

#define IB_CM_TRANSPORT_UC   1

Definition at line 402 of file ib_mad.h.

◆ IB_CM_TRANSPORT_RD

#define IB_CM_TRANSPORT_RD   2

Definition at line 403 of file ib_mad.h.

◆ IB_CM_REJECT_BAD_SERVICE_ID

#define IB_CM_REJECT_BAD_SERVICE_ID   8

CM rejection reasons.

Definition at line 427 of file ib_mad.h.

◆ IB_CM_REJECT_STALE_CONN

#define IB_CM_REJECT_STALE_CONN   10

Definition at line 428 of file ib_mad.h.

◆ IB_CM_REJECT_CONSUMER

#define IB_CM_REJECT_CONSUMER   28

Definition at line 429 of file ib_mad.h.

◆ IB_MGMT_BASE_VERSION

#define IB_MGMT_BASE_VERSION   1

Definition at line 552 of file ib_mad.h.

◆ IB_MGMT_CLASS_SUBN_LID_ROUTED

#define IB_MGMT_CLASS_SUBN_LID_ROUTED   0x01

Definition at line 555 of file ib_mad.h.

◆ IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE

#define IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE   0x81

Definition at line 556 of file ib_mad.h.

◆ IB_MGMT_CLASS_SUBN_ADM

#define IB_MGMT_CLASS_SUBN_ADM   0x03

Definition at line 557 of file ib_mad.h.

◆ IB_MGMT_CLASS_PERF_MGMT

#define IB_MGMT_CLASS_PERF_MGMT   0x04

Definition at line 558 of file ib_mad.h.

◆ IB_MGMT_CLASS_BM

#define IB_MGMT_CLASS_BM   0x05

Definition at line 559 of file ib_mad.h.

◆ IB_MGMT_CLASS_DEVICE_MGMT

#define IB_MGMT_CLASS_DEVICE_MGMT   0x06

Definition at line 560 of file ib_mad.h.

◆ IB_MGMT_CLASS_CM

#define IB_MGMT_CLASS_CM   0x07

Definition at line 561 of file ib_mad.h.

◆ IB_MGMT_CLASS_SNMP

#define IB_MGMT_CLASS_SNMP   0x08

Definition at line 562 of file ib_mad.h.

◆ IB_MGMT_CLASS_VENDOR_RANGE2_START

#define IB_MGMT_CLASS_VENDOR_RANGE2_START   0x30

Definition at line 563 of file ib_mad.h.

◆ IB_MGMT_CLASS_VENDOR_RANGE2_END

#define IB_MGMT_CLASS_VENDOR_RANGE2_END   0x4f

Definition at line 564 of file ib_mad.h.

◆ IB_MGMT_CLASS_MASK

#define IB_MGMT_CLASS_MASK   0x7f

Definition at line 566 of file ib_mad.h.

◆ IB_MGMT_METHOD_GET

#define IB_MGMT_METHOD_GET   0x01

Definition at line 569 of file ib_mad.h.

◆ IB_MGMT_METHOD_SET

#define IB_MGMT_METHOD_SET   0x02

Definition at line 570 of file ib_mad.h.

◆ IB_MGMT_METHOD_GET_RESP

#define IB_MGMT_METHOD_GET_RESP   0x81

Definition at line 571 of file ib_mad.h.

◆ IB_MGMT_METHOD_SEND

#define IB_MGMT_METHOD_SEND   0x03

Definition at line 572 of file ib_mad.h.

◆ IB_MGMT_METHOD_TRAP

#define IB_MGMT_METHOD_TRAP   0x05

Definition at line 573 of file ib_mad.h.

◆ IB_MGMT_METHOD_REPORT

#define IB_MGMT_METHOD_REPORT   0x06

Definition at line 574 of file ib_mad.h.

◆ IB_MGMT_METHOD_REPORT_RESP

#define IB_MGMT_METHOD_REPORT_RESP   0x86

Definition at line 575 of file ib_mad.h.

◆ IB_MGMT_METHOD_TRAP_REPRESS

#define IB_MGMT_METHOD_TRAP_REPRESS   0x07

Definition at line 576 of file ib_mad.h.

◆ IB_MGMT_METHOD_DELETE

#define IB_MGMT_METHOD_DELETE   0x15

Definition at line 577 of file ib_mad.h.

◆ IB_MGMT_STATUS_OK

#define IB_MGMT_STATUS_OK   0x0000

Definition at line 580 of file ib_mad.h.

◆ IB_MGMT_STATUS_BAD_VERSION

#define IB_MGMT_STATUS_BAD_VERSION   0x0001

Definition at line 581 of file ib_mad.h.

◆ IB_MGMT_STATUS_UNSUPPORTED_METHOD

#define IB_MGMT_STATUS_UNSUPPORTED_METHOD   0x0002

Definition at line 582 of file ib_mad.h.

◆ IB_MGMT_STATUS_UNSUPPORTED_METHOD_ATTR

#define IB_MGMT_STATUS_UNSUPPORTED_METHOD_ATTR   0x0003

Definition at line 583 of file ib_mad.h.

◆ IB_MGMT_STATUS_INVALID_VALUE

#define IB_MGMT_STATUS_INVALID_VALUE   0x0004

Definition at line 584 of file ib_mad.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

struct ib_smp_hdr __attribute__ ( (packed)  )

Variable Documentation

◆ mkey

uint64_t mkey

Definition at line 11 of file ib_mad.h.

◆ slid

uint16_t slid

Definition at line 12 of file ib_mad.h.

◆ dlid

uint16_t dlid

Definition at line 13 of file ib_mad.h.

◆ reserved

uint8_t reserved[2]

Reserved.

Definition at line 14 of file ib_mad.h.

◆ node_string

char node_string[64]

Definition at line 11 of file ib_mad.h.

◆ base_version

uint8_t base_version

Definition at line 11 of file ib_mad.h.

◆ class_version

uint8_t class_version

Definition at line 12 of file ib_mad.h.

◆ node_type

uint8_t node_type

Definition at line 13 of file ib_mad.h.

◆ num_ports

uint8_t num_ports

Definition at line 14 of file ib_mad.h.

◆ sys_guid

union ib_guid sys_guid

Definition at line 15 of file ib_mad.h.

◆ node_guid

union ib_guid node_guid

Definition at line 16 of file ib_mad.h.

◆ port_guid

union ib_guid port_guid

Definition at line 17 of file ib_mad.h.

◆ partition_cap

uint16_t partition_cap

Definition at line 18 of file ib_mad.h.

◆ device_id

uint16_t device_id

Definition at line 19 of file ib_mad.h.

Referenced by falcon_spi_rw(), and undirom_find_pci().

◆ revision

uint32_t revision

◆ local_port_num

uint8_t local_port_num

Definition at line 21 of file ib_mad.h.

◆ vendor_id

uint8_t vendor_id[3]

Definition at line 22 of file ib_mad.h.

Referenced by hv_map_hypercall(), and undirom_find_pci().

◆ guid

uint8_t guid[8][8]

Definition at line 11 of file ib_mad.h.

◆ gid_prefix

uint8_t gid_prefix[8]

Definition at line 12 of file ib_mad.h.

◆ lid

uint16_t lid

Definition at line 13 of file ib_mad.h.

◆ mastersm_lid

uint16_t mastersm_lid

Definition at line 14 of file ib_mad.h.

◆ cap_mask

uint32_t cap_mask

Definition at line 15 of file ib_mad.h.

◆ diag_code

uint16_t diag_code

Definition at line 16 of file ib_mad.h.

◆ mkey_lease_period

uint16_t mkey_lease_period

Definition at line 17 of file ib_mad.h.

◆ link_width_enabled

uint8_t link_width_enabled

Definition at line 19 of file ib_mad.h.

Referenced by ib_sma_set_port_info().

◆ link_width_supported

uint8_t link_width_supported

Definition at line 20 of file ib_mad.h.

◆ link_width_active

uint8_t link_width_active

Definition at line 21 of file ib_mad.h.

◆ link_speed_supported__port_state

uint8_t link_speed_supported__port_state

Definition at line 22 of file ib_mad.h.

◆ port_phys_state__link_down_def_state

uint8_t port_phys_state__link_down_def_state

Definition at line 23 of file ib_mad.h.

◆ mkey_prot_bits__lmc

uint8_t mkey_prot_bits__lmc

Definition at line 24 of file ib_mad.h.

◆ link_speed_active__link_speed_enabled

uint8_t link_speed_active__link_speed_enabled

Definition at line 25 of file ib_mad.h.

◆ neighbour_mtu__mastersm_sl

uint8_t neighbour_mtu__mastersm_sl

Definition at line 26 of file ib_mad.h.

◆ vl_cap__init_type

uint8_t vl_cap__init_type

Definition at line 27 of file ib_mad.h.

◆ vl_high_limit

uint8_t vl_high_limit

Definition at line 28 of file ib_mad.h.

◆ vl_arbitration_high_cap

uint8_t vl_arbitration_high_cap

Definition at line 29 of file ib_mad.h.

◆ vl_arbitration_low_cap

uint8_t vl_arbitration_low_cap

Definition at line 30 of file ib_mad.h.

◆ init_type_reply__mtu_cap

uint8_t init_type_reply__mtu_cap

Definition at line 31 of file ib_mad.h.

◆ vl_stall_count__hoq_life

uint8_t vl_stall_count__hoq_life

Definition at line 32 of file ib_mad.h.

◆ operational_vls__enforcement

uint8_t operational_vls__enforcement

Definition at line 33 of file ib_mad.h.

◆ mkey_violations

uint16_t mkey_violations

Definition at line 34 of file ib_mad.h.

◆ pkey_violations

uint16_t pkey_violations

Definition at line 35 of file ib_mad.h.

◆ qkey_violations

uint16_t qkey_violations

Definition at line 36 of file ib_mad.h.

◆ guid_cap

uint8_t guid_cap

Definition at line 37 of file ib_mad.h.

◆ client_reregister__subnet_timeout

uint8_t client_reregister__subnet_timeout

Definition at line 38 of file ib_mad.h.

◆ resp_time_value

uint8_t resp_time_value

Definition at line 39 of file ib_mad.h.

◆ local_phy_errors__overrun_errors

uint8_t local_phy_errors__overrun_errors

Definition at line 40 of file ib_mad.h.

◆ max_credit_hint

uint16_t max_credit_hint

Definition at line 41 of file ib_mad.h.

◆ link_round_trip_latency

uint32_t link_round_trip_latency

Definition at line 42 of file ib_mad.h.

◆ pkey

uint16_t pkey

Partition key.

Definition at line 11 of file ib_mad.h.

Referenced by ib_srp_parse_pkey().

◆ node_desc

struct ib_node_desc node_desc

Definition at line 11 of file ib_mad.h.

Referenced by ib_sma_node_desc().

◆ node_info

struct ib_node_info node_info

Definition at line 12 of file ib_mad.h.

Referenced by ib_sma_node_info(), and ib_smc_get().

◆ guid_info

struct ib_guid_info guid_info

Definition at line 13 of file ib_mad.h.

Referenced by ib_sma_guid_info(), and ib_smc_get().

◆ port_info

struct ib_port_info port_info

◆ pkey_table

struct ib_pkey_table pkey_table

Definition at line 15 of file ib_mad.h.

Referenced by ib_sma_pkey_table(), ib_sma_set_pkey_table(), and ib_smc_get().

◆ bytes

uint8_t bytes

◆ hops

uint8_t hops[64]

Definition at line 11 of file ib_mad.h.

◆ hop_pointer

uint8_t hop_pointer

Definition at line 11 of file ib_mad.h.

Referenced by ib_mi_send().

◆ hop_count

uint8_t hop_count

Definition at line 12 of file ib_mad.h.

Referenced by ib_mi_send().

◆ raw

uint16_t raw

Definition at line 11 of file ib_mad.h.

◆ sm_key

uint32_t sm_key[2]

Definition at line 11 of file ib_mad.h.

◆ attrib_offset

uint16_t attrib_offset

Definition at line 13 of file ib_mad.h.

◆ comp_mask

uint32_t comp_mask[2]

Definition at line 14 of file ib_mad.h.

◆ id

Definition at line 11 of file ib_mad.h.

◆ gid

union ib_gid gid

Definition at line 12 of file ib_mad.h.

◆ lease

uint32_t lease

Definition at line 15 of file ib_mad.h.

Referenced by dhcpv6_fetch_lease(), and dhcpv6_register().

◆ key

uint8_t key[16]

Definition at line 16 of file ib_mad.h.

◆ name

char name[64]

Definition at line 17 of file ib_mad.h.

◆ data8

uint8_t data8[16]

Definition at line 18 of file ib_mad.h.

Referenced by TLan_ResetAdapter().

◆ data16

uint16_t data16[8]

Definition at line 19 of file ib_mad.h.

◆ data32

uint32_t data32[4]

Definition at line 20 of file ib_mad.h.

◆ data64

uint64_t data64[2]

Definition at line 21 of file ib_mad.h.

◆ reserved0

uint32_t reserved0[1]

Reserved.

Definition at line 11 of file ib_mad.h.

◆ dgid

union ib_gid dgid

◆ sgid

union ib_gid sgid

Definition at line 13 of file ib_mad.h.

◆ hop_limit__flow_label__raw_traffic

uint32_t hop_limit__flow_label__raw_traffic

Definition at line 16 of file ib_mad.h.

◆ pkey__numb_path__reversible__tclass

uint32_t pkey__numb_path__reversible__tclass

Definition at line 17 of file ib_mad.h.

◆ reserved1

uint32_t reserved1[1]

Reserved.

Definition at line 18 of file ib_mad.h.

◆ reserved__sl

uint8_t reserved__sl

Definition at line 19 of file ib_mad.h.

◆ mtu_selector__mtu

uint8_t mtu_selector__mtu

Definition at line 20 of file ib_mad.h.

◆ rate_selector__rate

uint8_t rate_selector__rate

Definition at line 21 of file ib_mad.h.

◆ preference__packet_lifetime__packet_lifetime_selector

uint32_t preference__packet_lifetime__packet_lifetime_selector

Definition at line 22 of file ib_mad.h.

◆ reserved2

uint32_t reserved2[35]

Definition at line 23 of file ib_mad.h.

◆ mgid

union ib_gid mgid

Definition at line 11 of file ib_mad.h.

Referenced by ib_find_qp_mgid(), ib_mcast_attach(), and ib_mcast_detach().

◆ port_gid

union ib_gid port_gid

Definition at line 12 of file ib_mad.h.

◆ qkey

uint32_t qkey

Definition at line 13 of file ib_mad.h.

◆ mlid

uint16_t mlid

Definition at line 14 of file ib_mad.h.

◆ tclass

uint8_t tclass

Definition at line 16 of file ib_mad.h.

◆ packet_lifetime_selector__packet_lifetime

uint8_t packet_lifetime_selector__packet_lifetime

Definition at line 19 of file ib_mad.h.

◆ sl__flow_label__hop_limit

uint32_t sl__flow_label__hop_limit

Definition at line 20 of file ib_mad.h.

◆ scope__join_state

uint8_t scope__join_state

Definition at line 21 of file ib_mad.h.

◆ proxy_join__reserved

uint8_t proxy_join__reserved

Definition at line 22 of file ib_mad.h.

◆ service_record

struct ib_service_record service_record

Definition at line 11 of file ib_mad.h.

◆ path_record

struct ib_path_record path_record

Definition at line 12 of file ib_mad.h.

◆ mc_member_record

struct ib_mc_member_record mc_member_record

Definition at line 13 of file ib_mad.h.

Referenced by ib_mcast_complete().

◆ local_id

uint32_t local_id

◆ remote_id

uint32_t remote_id

Remote communication ID.

Definition at line 14 of file ib_mad.h.

Referenced by ib_cm_recv_dreq(), ib_cm_send_drep(), and ib_cm_send_rtu().

◆ local_lid

uint16_t local_lid

Local port LID.

Definition at line 12 of file ib_mad.h.

◆ remote_lid

uint16_t remote_lid

Remote port LID.

Definition at line 14 of file ib_mad.h.

◆ local_gid

union ib_gid local_gid

Local port GID.

Definition at line 16 of file ib_mad.h.

◆ remote_gid

union ib_gid remote_gid

Remote port GID.

Definition at line 18 of file ib_mad.h.

◆ flow_label__rate

uint32_t flow_label__rate

Flow label and rate.

Definition at line 20 of file ib_mad.h.

◆ tc

uint8_t tc

Traffic class.

Definition at line 22 of file ib_mad.h.

◆ hop_limit

uint8_t hop_limit

Hop limit.

Definition at line 24 of file ib_mad.h.

◆ sl__subnet_local

uint8_t sl__subnet_local

SL and subnet local.

Definition at line 26 of file ib_mad.h.

◆ local_ack_timeout

uint8_t local_ack_timeout

Local ACK timeout.

Definition at line 28 of file ib_mad.h.

◆ service_id

union ib_guid service_id

Service ID.

Definition at line 16 of file ib_mad.h.

Referenced by ib_cmrc_open(), ib_create_conn(), and ib_srp_open().

◆ local_ca

union ib_guid local_ca

Local CA GUID.

Definition at line 18 of file ib_mad.h.

◆ local_qkey

uint32_t local_qkey

Local queue key.

Definition at line 22 of file ib_mad.h.

◆ local_qpn__responder_resources

uint32_t local_qpn__responder_resources

Local QPN and responder resources.

Definition at line 24 of file ib_mad.h.

◆ local_eecn__initiator_depth

uint32_t local_eecn__initiator_depth

Local EECN and initiator depth.

Definition at line 26 of file ib_mad.h.

◆ remote_eecn__remote_timeout__service_type__ee_flow_ctrl

uint32_t remote_eecn__remote_timeout__service_type__ee_flow_ctrl

Remote EECN, remote CM response timeout, transport service type, EE flow control.

Definition at line 30 of file ib_mad.h.

◆ starting_psn__local_timeout__retry_count

uint32_t starting_psn__local_timeout__retry_count

Starting PSN, local CM response timeout and retry count.

Definition at line 32 of file ib_mad.h.

◆ payload_mtu__rdc_exists__rnr_retry

uint8_t payload_mtu__rdc_exists__rnr_retry

Path packet payload MTU, RDC exists, RNR retry count.

Definition at line 36 of file ib_mad.h.

◆ max_cm_retries__srq

uint8_t max_cm_retries__srq

Max CM retries and SRQ.

Definition at line 38 of file ib_mad.h.

◆ primary

struct ib_cm_path primary

Primary path.

Definition at line 40 of file ib_mad.h.

Referenced by sandev_parse_iso9660().

◆ alternate

struct ib_cm_path alternate

Alternate path.

Definition at line 42 of file ib_mad.h.

Referenced by efi_usb_get_endpoint_descriptor(), efi_usb_mtu(), usb_interface_descriptor(), and usb_set_interface().

◆ private_data

uint8_t private_data

Private data.

Definition at line 44 of file ib_mad.h.

Referenced by ib_cm_req_complete(), ib_cmrc_changed(), and ib_create_conn().

◆ message

uint8_t message

Message rejected.

Definition at line 16 of file ib_mad.h.

◆ info_len

uint8_t info_len

Reject information length.

Definition at line 18 of file ib_mad.h.

Referenced by guestinfo_fetch_type(), and rndis_rx_query_oid().

◆ reason

uint16_t reason

Rejection reason.

Definition at line 20 of file ib_mad.h.

Referenced by ib_cm_rejection_reason_to_rc(), net80211_send_disassoc(), srp_login_rej(), vxsetlink(), and yukon_phy_intr().

◆ info

uint8_t info[72]

Additional rejection information.

Definition at line 22 of file ib_mad.h.

◆ local_qpn

uint32_t local_qpn

Local QPN.

Definition at line 18 of file ib_mad.h.

◆ local_eecn

uint32_t local_eecn

Local EECN.

Definition at line 20 of file ib_mad.h.

◆ starting_psn

uint32_t starting_psn

Starting PSN.

Definition at line 22 of file ib_mad.h.

◆ responder_resources

uint8_t responder_resources

Responder resources.

Definition at line 24 of file ib_mad.h.

◆ initiator_depth

uint8_t initiator_depth

Initiator depth.

Definition at line 26 of file ib_mad.h.

◆ target_ack_delay__failover_accepted__ee_flow_ctrl

uint8_t target_ack_delay__failover_accepted__ee_flow_ctrl

Target ACK delay, failover accepted, and end-to-end flow control.

Definition at line 28 of file ib_mad.h.

◆ rnr_retry__srq

uint8_t rnr_retry__srq

RNR retry count, SRQ.

Definition at line 30 of file ib_mad.h.

◆ remote_qpn_eecn

uint32_t remote_qpn_eecn

Remote QPN/EECN.

Definition at line 16 of file ib_mad.h.

◆ common

struct ib_cm_common common

Definition at line 11 of file ib_mad.h.

Referenced by __ath9k_hw_4k_fill_eeprom(), __ath9k_hw_ar9287_fill_eeprom(), __ath9k_hw_def_fill_eeprom(), __ath9k_hw_init(), ar5008_hw_process_ini(), ar9300_eeprom_read_byte(), ar9300_eeprom_read_word(), ar9300_eeprom_restore_flash(), ar9300_read_eeprom(), ath9k_bss_info_changed(), ath9k_bss_iter(), ath9k_config_bss(), ath9k_hw_4k_check_eeprom(), ath9k_hw_4k_fill_eeprom(), ath9k_hw_ani_read_counters(), ath9k_hw_ar9287_check_eeprom(), ath9k_hw_ar9287_fill_eeprom(), ath9k_hw_def_check_eeprom(), ath9k_hw_def_fill_eeprom(), ath9k_hw_deinit(), ath9k_hw_fill_cap_info(), ath9k_hw_init(), ath9k_hw_init_macaddr(), ath9k_hw_mac_to_clks(), ath9k_hw_nvram_read(), ath9k_hw_post_init(), ath9k_hw_reset(), ath9k_hw_set_clockrate(), ath9k_hw_set_dma(), ath9k_hw_write_associd(), ath9k_init_crypto(), ath9k_init_misc(), ath9k_init_softc(), ath9k_ioread32(), ath9k_iowrite32(), ath9k_reg_rmw(), ath9k_rx_accept(), ath9k_rx_iob_preprocess(), ath9k_start(), ath_ani_calibrate(), ath_buf_set_rate(), ath_hw_cycle_counters_update(), ath_hw_get_listen_time(), ath_hw_keyreset(), ath_hw_setbssidmask(), ath_isr(), ath_opmode_init(), ath_pci_eeprom_read(), ath_pci_extn_synch_enable(), ath_pci_read_cachesize(), ath_read_cachesize(), ath_reset(), ath_rx_buf_link(), ath_rx_init(), ath_rx_tasklet(), ath_set_channel(), ath_start_ani(), ath_update_survey_stats(), bnx2_5706s_linkup(), bnx2_copper_linkup(), ib_cm_req_complete(), iscsi_socket_deliver(), iscsi_tx_data(), iscsi_tx_done(), iscsi_tx_step(), srp_unrecognised(), srpdev_deliver(), tftp_rx(), tg3_setup_fiber_mii_phy(), and virtnet_probe_modern().

◆ connect_request

struct ib_cm_connect_request connect_request

Definition at line 12 of file ib_mad.h.

◆ connect_reject

struct ib_cm_connect_reject connect_reject

Definition at line 13 of file ib_mad.h.

◆ connect_reply

struct ib_cm_connect_reply connect_reply

Definition at line 14 of file ib_mad.h.

◆ ready_to_use

struct ib_cm_ready_to_use ready_to_use

Definition at line 15 of file ib_mad.h.

◆ disconnect_request

struct ib_cm_disconnect_request disconnect_request

Definition at line 16 of file ib_mad.h.

◆ disconnect_reply

struct ib_cm_disconnect_reply disconnect_reply

Definition at line 17 of file ib_mad.h.

◆ smp

struct ib_mad_smp smp

Definition at line 12 of file ib_mad.h.

Referenced by ib_mi_send().

◆ high

uint32_t high

Definition at line 11 of file ib_mad.h.

◆ low

uint32_t low

Definition at line 12 of file ib_mad.h.

◆ mgmt_class

uint8_t mgmt_class

Definition at line 12 of file ib_mad.h.

◆ method

uint8_t method

◆ status

uint16_t status

Definition at line 15 of file ib_mad.h.

◆ class_specific

union ib_mad_class_specific class_specific

Definition at line 16 of file ib_mad.h.

◆ tid

struct ib_mad_tid tid

◆ attr_id

uint16_t attr_id

Definition at line 18 of file ib_mad.h.

Referenced by ib_smc_mad().

◆ attr_mod

uint32_t attr_mod

Definition at line 20 of file ib_mad.h.

Referenced by ib_smc_mad().

◆ mad_hdr

struct ib_mad_hdr mad_hdr

Definition at line 11 of file ib_mad.h.

◆ smp_hdr

struct ib_smp_hdr smp_hdr

Definition at line 12 of file ib_mad.h.

◆ smp_data

union ib_smp_data smp_data

Definition at line 13 of file ib_mad.h.

◆ initial_path

struct ib_smp_dr_path initial_path

Definition at line 14 of file ib_mad.h.

◆ return_path

struct ib_smp_dr_path return_path

Definition at line 15 of file ib_mad.h.

◆ rmpp_hdr

struct ib_rmpp_hdr rmpp_hdr

Definition at line 12 of file ib_mad.h.

◆ sa_hdr

struct ib_sa_hdr sa_hdr

Definition at line 13 of file ib_mad.h.

◆ sa_data

union ib_sa_data sa_data

Definition at line 14 of file ib_mad.h.

◆ cm_data

union ib_cm_data cm_data

Definition at line 12 of file ib_mad.h.

◆ hdr

struct ib_mad_hdr hdr

Definition at line 11 of file ib_mad.h.

◆ sa

struct ib_mad_sa sa

Definition at line 13 of file ib_mad.h.

◆ cm

struct ib_mad_cm cm

Definition at line 14 of file ib_mad.h.

Referenced by deflate_inflate().