| /freebsd-13.1/contrib/ofed/libibumad/ |
| H A D | umad_str.c | 193 switch(be16toh(attr_id)) { in umad_common_attr_str() 207 switch(be16toh(attr_id)) { in umad_sm_attr_str() 247 return (umad_common_attr_str(attr_id)); in umad_sm_attr_str() 253 switch(be16toh(attr_id)) { in umad_sa_attr_str() 301 return (umad_common_attr_str(attr_id)); in umad_sa_attr_str() 307 switch(be16toh(attr_id)) { in umad_cm_attr_str() 335 return (umad_common_attr_str(attr_id)); in umad_cm_attr_str() 344 return(umad_sm_attr_str(attr_id)); in umad_attribute_str() 346 return(umad_sa_attr_str(attr_id)); in umad_attribute_str() 348 return(umad_cm_attr_str(attr_id)); in umad_attribute_str() [all …]
|
| H A D | umad_str.h | 51 const char * umad_attribute_str(uint8_t mgmt_class, __be16 attr_id);
|
| H A D | umad_sm.h | 115 __be16 attr_id; member
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/util/ |
| H A D | madeye.c | 69 static int attr_id = 0; variable 75 module_param(attr_id, int, 0444); 250 be16_to_cpu(mad_hdr->attr_id), in print_mad_hdr() 251 get_sa_attr(be16_to_cpu(mad_hdr->attr_id))); in print_mad_hdr() 254 be16_to_cpu(mad_hdr->attr_id)); in print_mad_hdr() 372 printk("Attr ID........0x%02x (%s)\n", be16_to_cpu(smp->attr_id), in print_smp() 373 get_smp_attr(smp->attr_id)); in print_smp() 409 if (attr_id && be16_to_cpu(hdr->attr_id) != attr_id) in snoop_smi_handler() 421 if (attr_id && be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) != attr_id) in recv_smi_handler() 454 if (attr_id && be16_to_cpu(hdr->attr_id) != attr_id) in snoop_gsi_handler() [all …]
|
| /freebsd-13.1/contrib/ofed/opensm/opensm/ |
| H A D | osm_sm_mad_ctrl.c | 222 switch (p_smp->attr_id) { in sm_mad_ctrl_process_get_resp() 266 cl_ntoh16(p_smp->attr_id), in sm_mad_ctrl_process_get_resp() 320 switch (p_smp->attr_id) { in sm_mad_ctrl_process_get() 328 cl_ntoh16(p_smp->attr_id)); in sm_mad_ctrl_process_get() 389 switch (p_smp->attr_id) { in sm_mad_ctrl_process_set() 397 cl_ntoh16(p_smp->attr_id), in sm_mad_ctrl_process_set() 469 switch (p_smp->attr_id) { in sm_mad_ctrl_process_trap() 477 cl_ntoh16(p_smp->attr_id), in sm_mad_ctrl_process_trap() 538 switch (p_smp->attr_id) { in sm_mad_ctrl_process_trap_repress() 547 cl_ntoh16(p_smp->attr_id), in sm_mad_ctrl_process_trap_repress() [all …]
|
| H A D | osm_req.c | 157 IN ib_net16_t attr_id, IN ib_net32_t attr_mod, in osm_req_get() argument 172 CL_ASSERT(attr_id); in osm_req_get() 206 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id), in osm_req_get() 210 tid, attr_id, attr_mod, p_path->hop_count, in osm_req_get() 241 IN ib_net16_t attr_id, IN ib_net32_t attr_mod, in osm_prepare_req_set() argument 255 CL_ASSERT(attr_id); in osm_prepare_req_set() 289 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id), in osm_prepare_req_set() 293 tid, attr_id, attr_mod, p_path->hop_count, in osm_prepare_req_set() 332 IN ib_net16_t attr_id, IN ib_net32_t attr_mod, in osm_req_set() argument 340 p_madw = osm_prepare_req_set(sm, p_path, p_payload, payload_size, attr_id, in osm_req_set() [all …]
|
| H A D | osm_sa_mad_ctrl.c | 154 switch (p_sa_mad->attr_id) { in sa_mad_ctrl_process() 232 cl_ntoh16(p_sa_mad->attr_id), in sa_mad_ctrl_process() 233 ib_get_sa_attr_str(p_sa_mad->attr_id)); in sa_mad_ctrl_process() 254 cl_ntoh16(p_sa_mad->attr_id), in sa_mad_ctrl_process() 255 ib_get_sa_attr_str(p_sa_mad->attr_id)); in sa_mad_ctrl_process() 351 p_sa_mad->method, cl_ntoh16(p_sa_mad->attr_id), in sa_mad_ctrl_rcv_callback() 352 ib_get_sa_attr_str(p_sa_mad->attr_id)); in sa_mad_ctrl_rcv_callback() 438 ib_get_sa_attr_str(p_madw->p_mad->attr_id), in sa_mad_ctrl_send_err_callback()
|
| H A D | osm_vl15intf.c | 64 ib_net16_t attr_id; in vl15_send_mad() local 69 attr_id = p_smp->attr_id; in vl15_send_mad() 125 cl_ntoh16(attr_id), ib_get_sm_attr_str(attr_id)); in vl15_send_mad()
|
| H A D | osm_congestion_control.c | 68 ib_net16_t attr_id, in cc_mad_post() argument 94 p_cc_mad->header.attr_id = attr_id; in cc_mad_post() 462 cl_ntoh16(p_mad->status), cl_ntoh16(p_mad->attr_id), in cc_rcv_mad() 492 if (p_cc_mad->header.attr_id == IB_MAD_ATTR_SW_CONG_SETTING) { in cc_rcv_mad() 498 else if (p_cc_mad->header.attr_id == IB_MAD_ATTR_CA_CONG_SETTING) { in cc_rcv_mad() 504 else if (p_cc_mad->header.attr_id == IB_MAD_ATTR_CC_TBL) { in cc_rcv_mad() 515 cl_ntoh16(p_cc_mad->header.attr_id)); in cc_rcv_mad() 699 p_madw->p_mad->attr_id, in cc_mad_send_err_callback()
|
| H A D | osm_resp.c | 144 ib_get_sm_attr_str(p_smp->attr_id), cl_ntoh16(p_smp->attr_id), in osm_resp_send()
|
| H A D | osm_guid_info_rcv.c | 87 CL_ASSERT(p_smp->attr_id == IB_MAD_ATTR_GUID_INFO); in osm_gi_rcv_process()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_cm.c | 77 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in set_local_comm_id() 92 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in get_local_comm_id() 107 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in set_remote_comm_id() 122 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) { in get_remote_comm_id() 324 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || in mlx4_ib_multiplex_cm_handler() 325 mad->mad_hdr.attr_id == CM_REP_ATTR_ID || in mlx4_ib_multiplex_cm_handler() 326 mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) { in mlx4_ib_multiplex_cm_handler() 350 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID) in mlx4_ib_multiplex_cm_handler() 364 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID || in mlx4_ib_demux_cm_handler() 393 if (mad->mad_hdr.attr_id == CM_DREQ_ATTR_ID) in mlx4_ib_demux_cm_handler() [all …]
|
| H A D | mlx4_ib_mad.c | 231 switch (mad->mad_hdr.attr_id) { in smp_snoop() 371 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override() 418 switch (be16_to_cpu(sa_mad->mad_hdr.attr_id)) { in mlx4_ib_demux_sa_handler() 780 be16_to_cpu(in_mad->mad_hdr.attr_id)); in ib_process_mad() 808 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in ib_process_mad() 854 __be16 attr_id) in edit_counter() argument 856 switch (attr_id) { in edit_counter() 911 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) in iboe_process_mad() 936 in_mad->mad_hdr.attr_id); in iboe_process_mad() 1125 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in handle_slaves_guid_change() [all …]
|
| /freebsd-13.1/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_ibumad_sa.c | 301 ib_net16_t attr_id; member 390 p_sa_mad_data->attr_id, /* attr id */ in __osmv_send_sa_req() 518 sa_mad_data.attr_id = p_user_query->attr_id; in osmv_query_sa() 526 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD; in osmv_query_sa() 534 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD; in osmv_query_sa() 560 sa_mad_data.attr_id = IB_MAD_ATTR_NODE_RECORD; in osmv_query_sa() 589 sa_mad_data.attr_id = IB_MAD_ATTR_VLARB_RECORD; in osmv_query_sa() 600 sa_mad_data.attr_id = IB_MAD_ATTR_SLVL_RECORD; in osmv_query_sa() 610 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD; in osmv_query_sa() 628 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD; in osmv_query_sa() [all …]
|
| H A D | osm_vendor_mlx_sa.c | 390 ib_net16_t attr_id; member 482 p_sa_mad_data->attr_id, /* attr id */ in __osmv_send_sa_req() 594 sa_mad_data.attr_id = p_user_query->attr_id; in osmv_query_sa() 602 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD; in osmv_query_sa() 610 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD; in osmv_query_sa() 636 sa_mad_data.attr_id = IB_MAD_ATTR_NODE_RECORD; in osmv_query_sa() 665 sa_mad_data.attr_id = IB_MAD_ATTR_VLARB_RECORD; in osmv_query_sa() 676 sa_mad_data.attr_id = IB_MAD_ATTR_SLVL_RECORD; in osmv_query_sa() 686 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD; in osmv_query_sa() 704 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD; in osmv_query_sa() [all …]
|
| H A D | osm_vendor_ibumad.c | 113 cl_ntoh16(p_madw->p_mad->attr_id), in log_send_error() 126 cl_ntoh16(p_madw->p_mad->attr_id), in log_send_error() 415 cl_ntoh16(p_mad->attr_id), in umad_receiver() 445 cl_ntoh16(p_mad->attr_id), in umad_receiver() 463 (p_mad->attr_id != p_req_mad->attr_id && in umad_receiver() 465 p_req_mad->attr_id == in umad_receiver() 467 p_mad->attr_id == IB_MAD_ATTR_PATH_RECORD)) || in umad_receiver() 477 cl_ntoh16(p_req_mad->attr_id), in umad_receiver() 480 cl_ntoh16(p_mad->attr_id), in umad_receiver() 1202 p_mad->method, cl_ntoh16(p_mad->attr_id), tid, ret);
|
| /freebsd-13.1/contrib/ofed/opensm/include/vendor/ |
| H A D | osm_vendor_sa_api.h | 183 ib_net16_t attr_id; member 455 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PATH_RECORD); in osmv_get_query_path_rec() 497 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PORTINFO_RECORD); in osmv_get_query_portinfo_rec() 539 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_NODE_RECORD); in osmv_get_query_node_rec() 581 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_SERVICE_RECORD); in osmv_get_query_svc_rec() 622 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_MCMEMBER_RECORD); in osmv_get_query_mc_rec() 668 && p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO_RECORD); in osmv_get_query_inform_info_rec()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_mad.c | 80 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in process_mad() 191 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) { in process_pma_cmd() 274 in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO; in mlx5_query_ext_port_caps() 301 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_smp_attr_node_info() 388 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mlx5_query_mad_ifc_node_desc() 413 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx5_query_mad_ifc_node_guid() 439 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mlx5_query_mad_ifc_pkey() 468 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mlx5_query_mad_ifc_gids() 479 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mlx5_query_mad_ifc_gids() 518 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mlx5_query_mad_ifc_port() [all …]
|
| /freebsd-13.1/sbin/camcontrol/ |
| H A D | attrib.c | 71 int attr_id; 431 int attr_id; in scsiattrib() local 449 attr_id = scsi_2btoul(cur_id); in scsiattrib() 452 && (attr_id != attr_num)) in scsiattrib() 455 entry = scsi_get_attrib_entry(attr_id); in scsiattrib() 456 fprintf(stdout, "0x%.4x", attr_id); in scsiattrib()
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_mad.c | 115 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { in smp_snoop() 139 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { in smp_snoop() 154 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override() 241 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad() 242 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad() 256 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in mthca_process_mad()
|
| /freebsd-13.1/contrib/wpa/src/eap_common/ |
| H A D | eap_sake_common.c | 19 u8 attr_id, u8 len, const u8 *data) in eap_sake_parse_add_attr() argument 23 switch (attr_id) { in eap_sake_parse_add_attr() 133 if (attr_id < 128) { in eap_sake_parse_add_attr() 135 " attribute %d", attr_id); in eap_sake_parse_add_attr() 139 "attribute %d", attr_id); in eap_sake_parse_add_attr()
|
| /freebsd-13.1/contrib/ofed/infiniband-diags/src/ |
| H A D | smpdump.c | 70 uint16_t attr_id; member 93 smp->attr_id = (uint16_t) htons((uint16_t) attr); in drsmp_get_init() 118 smp->attr_id = (uint16_t) htons((uint16_t) attr); in smp_get_init() 132 smp->attr_id = (uint16_t) htons((uint16_t) attr); in drsmp_set_init()
|
| /freebsd-13.1/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_sm.h | 404 IN ib_net16_t attr_id, IN ib_net32_t attr_mod, 477 IN size_t payload_size, IN ib_net16_t attr_id, 531 IN size_t payload_size, IN ib_net16_t attr_id,
|
| /freebsd-13.1/contrib/wpa/src/common/ |
| H A D | dpp_pkex.c | 312 static int dpp_pkex_identifier_match(const u8 *attr_id, u16 attr_id_len, in dpp_pkex_identifier_match() argument 315 if (!attr_id && identifier) { in dpp_pkex_identifier_match() 321 if (attr_id && !identifier) { in dpp_pkex_identifier_match() 327 if (attr_id && identifier && in dpp_pkex_identifier_match() 329 os_memcmp(identifier, attr_id, attr_id_len) != 0)) { in dpp_pkex_identifier_match() 346 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 399 attr_id = dpp_get_attr(buf, len, DPP_ATTR_CODE_IDENTIFIER, in dpp_pkex_rx_exchange_req() 401 if (!dpp_pkex_identifier_match(attr_id, attr_id_len, identifier)) in dpp_pkex_rx_exchange_req() 694 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 773 attr_id = dpp_get_attr(buf, buflen, DPP_ATTR_CODE_IDENTIFIER, in dpp_pkex_rx_exchange_resp() [all …]
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/doc/docbook/ |
| H A D | eapol_test.sgml | 159 attr_id:syntax:value, or attr_id alone. attr_id should be the numeric 162 to send. When attr_id is given alone, NULL is used as the attribute
|