|
iPXE
|
Infiniband management datagrams. More...
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... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| struct ib_smp_hdr | __attribute__ ((packed)) |
Infiniband management datagrams.
Definition in file ib_mad.h.
| #define IB_SMP_CLASS_VERSION 1 |
Subnet management class version.
Definition at line 35 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 41 of file ib_mad.h.
Referenced by ib_mi_send().
| #define IB_SMP_ATTR_NODE_INFO 0x0011 |
Definition at line 46 of file ib_mad.h.
Referenced by ib_smc_get_node_info().
| #define IB_SMP_ATTR_GUID_INFO 0x0014 |
Definition at line 48 of file ib_mad.h.
Referenced by ib_smc_get_guid_info().
| #define IB_SMP_ATTR_PORT_INFO 0x0015 |
Definition at line 49 of file ib_mad.h.
Referenced by ib_smc_get_port_info().
| #define IB_SMP_ATTR_PKEY_TABLE 0x0016 |
Definition at line 50 of file ib_mad.h.
Referenced by ib_smc_get_pkey_table().
| #define IB_NODE_TYPE_HCA 0x01 |
Definition at line 89 of file ib_mad.h.
Referenced by ib_sma_node_info().
| #define IB_LINK_WIDTH_1X 0x01 |
Definition at line 140 of file ib_mad.h.
Referenced by linda_link_state_changed(), linda_probe(), and qib7322_link_state_changed().
| #define IB_LINK_WIDTH_4X 0x02 |
Definition at line 141 of file ib_mad.h.
Referenced by linda_link_state_changed(), linda_probe(), qib7322_link_state_changed(), and qib7322_probe().
| #define IB_LINK_SPEED_SDR 0x01 |
Definition at line 145 of file ib_mad.h.
Referenced by linda_link_state_changed(), linda_probe(), qib7322_link_speed_supported(), qib7322_link_state_changed(), and qib7322_probe().
| #define IB_LINK_SPEED_DDR 0x02 |
Definition at line 146 of file ib_mad.h.
Referenced by linda_link_state_changed(), qib7322_link_speed_supported(), and qib7322_link_state_changed().
| #define IB_LINK_SPEED_QDR 0x04 |
Definition at line 147 of file ib_mad.h.
Referenced by qib7322_link_speed_supported().
| #define IB_PORT_STATE_DOWN 0x01 |
Definition at line 152 of file ib_mad.h.
Referenced by alloc_ibdev(), arbel_poll_eq(), hermon_poll_eq(), ib_close(), ib_link_rc(), and ib_link_state_text().
| #define IB_PORT_STATE_INIT 0x02 |
Definition at line 153 of file ib_mad.h.
Referenced by ib_link_rc(), and ib_link_state_text().
| #define IB_PORT_STATE_ARMED 0x03 |
Definition at line 154 of file ib_mad.h.
Referenced by ib_link_rc(), and ib_link_state_text().
| #define IB_PORT_STATE_ACTIVE 0x04 |
Definition at line 155 of file ib_mad.h.
Referenced by ib_link_ok(), ib_link_rc(), and ib_link_state_text().
| #define IB_PORT_PHYS_STATE_POLLING 0x02 |
Definition at line 158 of file ib_mad.h.
Referenced by ib_sma_port_info().
| #define IB_MTU_2048 0x04 |
Definition at line 163 of file ib_mad.h.
Referenced by hermon_ib_open(), ib_cm_path_complete(), and ib_sma_port_info().
| #define IB_VL_0 0x01 |
Definition at line 166 of file ib_mad.h.
Referenced by hermon_ib_open(), and ib_sma_port_info().
| #define IB_SA_CLASS_VERSION 2 |
Definition at line 208 of file ib_mad.h.
Referenced by ib_create_path(), ib_create_service_madx(), and ib_mcast_mad().
| #define IB_SA_ATTR_SERVICE_REC 0x31 |
Definition at line 223 of file ib_mad.h.
Referenced by ib_create_service_madx().
| #define IB_SA_ATTR_PATH_REC 0x35 |
Definition at line 224 of file ib_mad.h.
Referenced by ib_create_path().
| #define IB_SA_ATTR_MC_MEMBER_REC 0x38 |
Definition at line 225 of file ib_mad.h.
Referenced by ib_mcast_mad().
| #define IB_SA_SERVICE_REC_NAME (1<<6) |
Definition at line 241 of file ib_mad.h.
Referenced by ib_create_service_madx().
| #define IB_SA_PATH_REC_DGID (1<<2) |
Definition at line 259 of file ib_mad.h.
Referenced by ib_create_path().
| #define IB_SA_PATH_REC_SGID (1<<3) |
Definition at line 260 of file ib_mad.h.
Referenced by ib_create_path().
| #define IB_SA_MCMEMBER_REC_MGID (1<<0) |
Definition at line 279 of file ib_mad.h.
Referenced by ib_mcast_mad().
| #define IB_SA_MCMEMBER_REC_PORT_GID (1<<1) |
Definition at line 280 of file ib_mad.h.
Referenced by ib_mcast_mad().
| #define IB_SA_MCMEMBER_REC_QKEY (1<<2) |
Definition at line 281 of file ib_mad.h.
Referenced by eoib_force_group_creation().
| #define IB_SA_MCMEMBER_REC_TRAFFIC_CLASS (1<<6) |
Definition at line 285 of file ib_mad.h.
Referenced by eoib_force_group_creation().
| #define IB_SA_MCMEMBER_REC_PKEY (1<<7) |
Definition at line 286 of file ib_mad.h.
Referenced by eoib_force_group_creation().
| #define IB_SA_MCMEMBER_REC_PACKET_LIFE_TIME_SELECTOR (1<<10) |
| #define IB_SA_MCMEMBER_REC_SL (1<<12) |
Definition at line 291 of file ib_mad.h.
Referenced by eoib_force_group_creation().
| #define IB_SA_MCMEMBER_REC_FLOW_LABEL (1<<13) |
Definition at line 292 of file ib_mad.h.
Referenced by eoib_force_group_creation().
| #define IB_SA_MCMEMBER_REC_JOIN_STATE (1<<16) |
Definition at line 295 of file ib_mad.h.
Referenced by ib_mcast_mad().
| #define IB_CM_CLASS_VERSION 2 |
Communication management class version.
Definition at line 312 of file ib_mad.h.
Referenced by ib_cm_path_complete(), ib_cm_send_drep(), and ib_cm_send_rtu().
| #define IB_CM_ATTR_CONNECT_REQUEST 0x0010 |
Definition at line 316 of file ib_mad.h.
Referenced by ib_cm_path_complete().
| #define IB_CM_ATTR_CONNECT_REJECT 0x0012 |
Definition at line 318 of file ib_mad.h.
Referenced by ib_cm_req_complete().
| #define IB_CM_ATTR_CONNECT_REPLY 0x0013 |
Definition at line 319 of file ib_mad.h.
Referenced by ib_cm_req_complete().
| #define IB_CM_ATTR_READY_TO_USE 0x0014 |
Definition at line 320 of file ib_mad.h.
Referenced by ib_cm_send_rtu().
| #define IB_CM_ATTR_DISCONNECT_REPLY 0x0016 |
Definition at line 322 of file ib_mad.h.
Referenced by ib_cm_send_drep().
| #define IB_CM_TRANSPORT_RC 0 |
| #define IB_CM_REJECT_BAD_SERVICE_ID 8 |
CM rejection reasons.
Definition at line 428 of file ib_mad.h.
Referenced by ib_cm_rejection_reason_to_rc().
| #define IB_CM_REJECT_STALE_CONN 10 |
Definition at line 429 of file ib_mad.h.
Referenced by ib_cm_rejection_reason_to_rc().
| #define IB_CM_REJECT_CONSUMER 28 |
Definition at line 430 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 553 of file ib_mad.h.
Referenced by ib_mi_complete_recv(), ib_mi_send(), ib_sma_node_info(), and ib_smc_mad().
| #define IB_MGMT_CLASS_SUBN_LID_ROUTED 0x01 |
Definition at line 556 of file ib_mad.h.
Referenced by ib_smc_mad().
| #define IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE 0x81 |
Definition at line 557 of file ib_mad.h.
Referenced by ib_mi_send().
| #define IB_MGMT_CLASS_SUBN_ADM 0x03 |
Definition at line 558 of file ib_mad.h.
Referenced by ib_create_path(), ib_create_service_madx(), and ib_mcast_mad().
| #define IB_MGMT_CLASS_CM 0x07 |
Definition at line 562 of file ib_mad.h.
Referenced by ib_cm_path_complete(), ib_cm_send_drep(), and ib_cm_send_rtu().
| #define IB_MGMT_CLASS_MASK 0x7f |
Definition at line 567 of file ib_mad.h.
Referenced by ib_mi_handle().
| #define IB_MGMT_METHOD_GET 0x01 |
Definition at line 570 of file ib_mad.h.
Referenced by ib_create_path(), ib_create_service_madx(), ib_smc_mad(), and xsigo_xds_complete().
| #define IB_MGMT_METHOD_SET 0x02 |
Definition at line 571 of file ib_mad.h.
Referenced by ib_mcast_join(), ib_sma_pkey_table(), and ib_sma_port_info().
| #define IB_MGMT_METHOD_GET_RESP 0x81 |
Definition at line 572 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 |
Definition at line 573 of file ib_mad.h.
Referenced by ib_cm_path_complete(), ib_cm_send_drep(), and ib_cm_send_rtu().
| #define IB_MGMT_METHOD_DELETE 0x15 |
Definition at line 578 of file ib_mad.h.
Referenced by ib_mcast_leave().
| #define IB_MGMT_STATUS_OK 0x0000 |
Definition at line 581 of file ib_mad.h.
Referenced by ib_cm_req_complete(), ib_mcast_complete(), ib_path_complete(), xsigo_xcm_complete(), and xsigo_xds_complete().
| #define IB_MGMT_STATUS_UNSUPPORTED_METHOD_ATTR 0x0003 |
Definition at line 584 of file ib_mad.h.
Referenced by ib_sma_pkey_table(), and ib_sma_port_info().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
| struct ib_smp_hdr __attribute__ | ( | (packed) | ) |
| uint16_t device_id |
Definition at line 8 of file ib_mad.h.
Referenced by falcon_spi_rw(), and undirom_find_pci().
| uint8_t revision |
Entry point revision.
Definition at line 9 of file ib_mad.h.
Referenced by efx_probe(), falcon_probe_nic_variant(), linda_probe(), qib7322_link_speed_supported(), qib7322_probe(), rhine_enable_mmio(), rhine_probe(), sis900_probe(), smc9000_probe(), vxge_probe(), and xhci_port_protocol().
| uint8_t vendor_id[3] |
Definition at line 11 of file ib_mad.h.
Referenced by FIP_DESCRIPTOR(), hv_map_hypercall(), and undirom_find_pci().
| uint8_t link_width_enabled |
Definition at line 8 of file ib_mad.h.
Referenced by ib_sma_set_port_info().
| uint16_t pkey |
| struct ib_node_desc node_desc |
Definition at line 0 of file ib_mad.h.
Referenced by ib_sma_node_desc().
| struct ib_node_info node_info |
Definition at line 1 of file ib_mad.h.
Referenced by ib_sma_node_info(), and ib_smc_get().
| struct ib_guid_info guid_info |
Definition at line 2 of file ib_mad.h.
Referenced by ib_sma_guid_info(), and ib_smc_get().
| struct ib_port_info port_info |
Definition at line 3 of file ib_mad.h.
Referenced by ib_sma_port_info(), ib_sma_set_port_info(), ib_smc_get(), linda_set_port_info(), and qib7322_set_port_info().
| struct ib_pkey_table pkey_table |
Definition at line 4 of file ib_mad.h.
Referenced by ib_sma_pkey_table(), ib_sma_set_pkey_table(), and ib_smc_get().
| uint8_t bytes |
Definition at line 5 of file ib_mad.h.
Referenced by __volatile__(), __volatile__(), __volatile__(), __volatile__(), acpi_extract_sx(), dbg_hex_dump_da_row(), denumerate_int_setting(), efab_alloc_resources(), efi_undi_checksum(), efx_hunt_alloc_special_buffer(), efx_hunt_ev_init(), efx_hunt_free_special_buffer(), efx_hunt_rx_init(), efx_hunt_tx_init(), falcon_alloc_special_buffer(), flexboot_nodnic_register_netdev(), get_random_nz(), hermon_bofm_harvest(), hermon_bofm_update(), hex_encode(), ib_srp_parse_byte_string(), inet_ntoa(), is_pnp_bios(), net80211_duration(), net80211_tx_mgmt(), pci_vpd_read(), pci_vpd_write(), phantom_read_test_mem(), pinger_generate(), pinger_verify(), pxe_checksum(), sandev_parse_iso9660(), smscusb_eeprom_read(), smscusb_otp_read(), x509_parse_key_usage(), xenstore_recv(), and xenstore_send().
| uint8_t hop_pointer |
Definition at line 0 of file ib_mad.h.
Referenced by ib_mi_send().
| uint8_t hop_count |
Definition at line 1 of file ib_mad.h.
Referenced by ib_mi_send().
| uint32_t lease |
Definition at line 4 of file ib_mad.h.
Referenced by dhcpv6_fetch_ip6(), and dhcpv6_register().
| uint8_t data8[16] |
Definition at line 7 of file ib_mad.h.
Referenced by TLan_ResetAdapter().
| union ib_gid dgid |
Definition at line 1 of file ib_mad.h.
Referenced by FILE_LICENCE(), ib_cmrc_open(), ib_create_conn(), ib_find_path_cache_entry(), ib_path_complete(), and ib_srp_open().
| uint32_t preference__packet_lifetime__packet_lifetime_selector |
| union ib_gid mgid |
Definition at line 0 of file ib_mad.h.
Referenced by ib_find_qp_mgid(), ib_mcast_attach(), and ib_mcast_detach().
| struct ib_service_record service_record |
| struct ib_path_record path_record |
| struct ib_mc_member_record mc_member_record |
Definition at line 2 of file ib_mad.h.
Referenced by ib_mcast_complete().
| uint32_t local_id |
Local communication ID.
Definition at line 1 of file ib_mad.h.
Referenced by ib_cm_find(), ib_cm_path_complete(), ib_cm_recv_dreq(), ib_cm_recv_rep(), ib_cm_req_complete(), ib_cm_send_drep(), ib_cm_send_rtu(), and ib_create_conn().
| uint32_t remote_id |
Remote communication ID.
Definition at line 3 of file ib_mad.h.
Referenced by ib_cm_recv_dreq(), ib_cm_send_drep(), and ib_cm_send_rtu().
| union ib_guid service_id |
Service ID.
Definition at line 5 of file ib_mad.h.
Referenced by FILE_LICENCE(), ib_cmrc_open(), ib_create_conn(), and ib_srp_open().
| uint32_t local_qpn__responder_resources |
| uint32_t local_eecn__initiator_depth |
| uint32_t remote_eecn__remote_timeout__service_type__ee_flow_ctrl |
| uint32_t starting_psn__local_timeout__retry_count |
| uint8_t payload_mtu__rdc_exists__rnr_retry |
| struct ib_cm_path primary |
| struct ib_cm_path alternate |
Alternate path.
Definition at line 31 of file ib_mad.h.
Referenced by efi_usb_get_endpoint_descriptor(), efi_usb_mtu(), usb_interface_descriptor(), and usb_set_interface().
| uint8_t private_data |
Private data.
Definition at line 33 of file ib_mad.h.
Referenced by ib_cm_req_complete(), ib_cmrc_changed(), and ib_create_conn().
| uint8_t info_len |
Reject information length.
Definition at line 7 of file ib_mad.h.
Referenced by guestinfo_fetch_type(), and rndis_rx_query_oid().
| uint16_t reason |
Rejection reason.
Definition at line 9 of file ib_mad.h.
Referenced by ib_cm_rejection_reason_to_rc(), net80211_ll_pull(), net80211_send_disassoc(), srp_login_rej(), vxsetlink(), and yukon_phy_intr().
| uint8_t target_ack_delay__failover_accepted__ee_flow_ctrl |
| struct ib_cm_common common |
Definition at line 0 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_process_rate(), 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().
| 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_mad_smp smp |
Definition at line 1 of file ib_mad.h.
Referenced by ib_mi_send().
| uint8_t method |
Definition at line 3 of file ib_mad.h.
Referenced by eap_rx_request(), eap_tx_nak(), efi_driver_handles(), http_open(), http_open_uri(), ib_mcast_mad(), net80211_send_auth(), net80211_step_associate(), net80211_tx_mgmt(), x509_find_access_method(), and x509_parse_access_description().
| union ib_mad_class_specific class_specific |
| struct ib_mad_tid tid |
Definition at line 6 of file ib_mad.h.
Referenced by ath_tx_queue_tid(), ath_tx_send_normal(), ath_tx_start_dma(), ath_txq_schedule(), ib_cm_send_drep(), and ib_cm_send_rtu().
| uint16_t attr_id |
Definition at line 7 of file ib_mad.h.
Referenced by ib_smc_mad().
| uint32_t attr_mod |
Definition at line 9 of file ib_mad.h.
Referenced by ib_smc_mad().
| 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 |
| union ib_sa_data sa_data |
| union ib_cm_data cm_data |
| struct ib_mad_hdr hdr |
| struct ib_mad_cm cm |
Definition at line 3 of file ib_mad.h.
Referenced by deflate_inflate().