#include <stdint.h>
#include <gpxe/ib_packet.h>
Go to the source code of this file.
Definition in file ib_mad.h.
| #define IB_SMP_CLASS_VERSION 1 |
Subnet management class version.
Definition at line 34 of file ib_mad.h.
Referenced by ib_sma_node_info().
| #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.
Referenced by ib_mi_send().
| #define IB_SMP_ATTR_GUID_INFO 0x0014 |
| #define IB_SMP_ATTR_PORT_INFO 0x0015 |
| #define IB_SMP_ATTR_PKEY_TABLE 0x0016 |
| #define IB_NODE_TYPE_HCA 0x01 |
| #define IB_LINK_WIDTH_1X 0x01 |
Definition at line 139 of file ib_mad.h.
Referenced by linda_link_state_changed(), and linda_probe().
| #define IB_LINK_WIDTH_4X 0x02 |
Definition at line 140 of file ib_mad.h.
Referenced by linda_link_state_changed(), and linda_probe().
| #define IB_LINK_SPEED_SDR 0x01 |
Definition at line 144 of file ib_mad.h.
Referenced by linda_link_state_changed(), and linda_probe().
| #define IB_LINK_SPEED_DDR 0x02 |
| #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_POLLING 0x02 |
| #define IB_MTU_2048 0x04 |
Definition at line 159 of file ib_mad.h.
Referenced by ib_cm_path_complete(), and ib_sma_port_info().
| #define IB_VL_0 0x01 |
| #define IB_SA_CLASS_VERSION 2 |
| #define IB_SA_ATTR_MC_MEMBER_REC 0x38 |
| #define IB_SA_ATTR_PATH_REC 0x35 |
| #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_PACKET_LIFE_TIME_SELECTOR (1<<10) |
| #define IB_SA_MCMEMBER_REC_JOIN_STATE (1<<16) |
| #define IB_CM_CLASS_VERSION 2 |
Communication management class version.
Definition at line 290 of file ib_mad.h.
Referenced by ib_cm_path_complete(), and ib_cm_send_rtu().
| #define IB_CM_ATTR_CONNECT_REQUEST 0x0010 |
| #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_TRANSPORT_RC 0 |
| #define IB_CM_REJECT_BAD_SERVICE_ID 8 |
CM rejection reasons.
Definition at line 406 of file ib_mad.h.
Referenced by ib_cm_rejection_reason_to_rc().
| #define IB_CM_REJECT_STALE_CONN 10 |
| #define IB_CM_REJECT_CONSUMER 28 |
Definition at line 408 of file ib_mad.h.
Referenced by ib_cm_rejection_reason_to_rc(), and ib_cm_req_complete().
| #define IB_MGMT_BASE_VERSION 1 |
Definition at line 495 of file ib_mad.h.
Referenced by ib_mi_complete_recv(), ib_mi_send(), ib_sma_node_info(), ib_smc_get_guid_info(), ib_smc_get_pkey_table(), and ib_smc_get_port_info().
| #define IB_MGMT_CLASS_SUBN_LID_ROUTED 0x01 |
Definition at line 498 of file ib_mad.h.
Referenced by ib_smc_get_guid_info(), ib_smc_get_pkey_table(), and ib_smc_get_port_info().
| #define IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE 0x81 |
| #define IB_MGMT_CLASS_SUBN_ADM 0x03 |
| #define IB_MGMT_CLASS_CM 0x07 |
| #define IB_MGMT_CLASS_MASK 0x7f |
| #define IB_MGMT_METHOD_GET 0x01 |
Definition at line 512 of file ib_mad.h.
Referenced by ib_create_path(), ib_smc_get_guid_info(), ib_smc_get_pkey_table(), and ib_smc_get_port_info().
| #define IB_MGMT_METHOD_SET 0x02 |
Definition at line 513 of file ib_mad.h.
Referenced by ib_mcast_mad(), ib_sma_pkey_table(), and ib_sma_port_info().
| #define IB_MGMT_METHOD_GET_RESP 0x81 |
Definition at line 514 of file ib_mad.h.
Referenced by ib_mcast_complete(), ib_sma_guid_info(), ib_sma_node_desc(), ib_sma_node_info(), ib_sma_pkey_table(), and ib_sma_port_info().
| #define IB_MGMT_METHOD_SEND 0x03 |
| #define IB_MGMT_METHOD_DELETE 0x15 |
| #define IB_MGMT_STATUS_OK 0x0000 |
Definition at line 523 of file ib_mad.h.
Referenced by ib_cm_req_complete(), ib_mcast_complete(), and ib_path_complete().
| #define IB_MGMT_STATUS_UNSUPPORTED_METHOD_ATTR 0x0003 |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
A subnet management header.
A management datagram.
A communication management MAD.
A subnet administration MAD.
A subnet management MAD.
A management datagram common header.
Management datagram class_specific data.
A communication management attribute.
A communication management ready to use reply.
A communication management connection reply.
A communication management connection rejection.
A communication management connection request.
A communication management path.
Communication management common fields.
Subnet management MAD class-specific data.
A subnet management directed route path.
A subnet management attribute.
A Partition Key Table attribute.
A Port Information attribute.
A GUID Information attribute.
A Node Information attribute.
A Node Description attribute.
Defined in sections 14.2.1.1 and 14.2.1.2 of the IBA.
Defined in section 14.2.5.2 of the IBA
Defined in section 14.2.5.3 of the IBA.
Defined in section 14.2.5.5 of the IBA.
Defined in section 14.2.5.6 of the IBA.
Defined in section 14.2.5.7 of the IBA.
Defined in section 12.6.5 of the IBA.
Defined in section 12.6.7 of the IBA.
Defined in section 12.6.8 of the IBA.
Defined in section 12.6.9 of the IBA.
Defined in section 13.4.2 of the IBA.
1.5.7.1