Searched refs:attr_id (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-11-stable/contrib/ofed/libibumad/
H A Dumad_str.c191 static const char *umad_common_attr_str(__be16 attr_id) argument
193 switch(be16toh(attr_id)) {
205 static const char * umad_sm_attr_str(__be16 attr_id) argument
207 switch(be16toh(attr_id)) {
247 return (umad_common_attr_str(attr_id));
252 static const char * umad_sa_attr_str(__be16 attr_id) argument
254 switch(be16toh(attr_id)) {
302 return (umad_common_attr_str(attr_id));
307 static const char * umad_cm_attr_str(__be16 attr_id) argument
309 switch(be16toh(attr_id)) {
342 umad_attribute_str(uint8_t mgmt_class, __be16 attr_id) argument
[all...]
H A Dumad_str.h51 const char * umad_attribute_str(uint8_t mgmt_class, __be16 attr_id);
H A Dumad_sm.h115 __be16 attr_id; member in struct:umad_smp
H A Dumad_types.h134 __be16 attr_id; member in struct:umad_hdr
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cm.c77 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) {
81 } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) {
92 if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) {
96 } else if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) {
107 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) {
111 } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) {
122 if (mad->mad_hdr.attr_id == CM_SIDR_REP_ATTR_ID) {
126 } else if (mad->mad_hdr.attr_id == CM_SIDR_REQ_ATTR_ID) {
324 if (mad->mad_hdr.attr_id == CM_REQ_ATTR_ID ||
325 mad->mad_hdr.attr_id
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/util/
H A Dmadeye.c67 static int attr_id = 0; variable
73 module_param(attr_id, int, 0444);
79 MODULE_PARM_DESC(attr_id, "Display add MADs of specified attribute ID (default=0)");
248 be16_to_cpu(mad_hdr->attr_id),
249 get_sa_attr(be16_to_cpu(mad_hdr->attr_id)));
252 be16_to_cpu(mad_hdr->attr_id));
370 printk("Attr ID........0x%02x (%s)\n", be16_to_cpu(smp->attr_id),
371 get_smp_attr(smp->attr_id));
407 if (attr_id && be16_to_cpu(hdr->attr_id) !
[all...]
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_sm_mad_ctrl.c219 Note that attr_id (like the rest of the MAD) is in
222 switch (p_smp->attr_id) {
266 cl_ntoh16(p_smp->attr_id),
267 ib_get_sm_attr_str(p_smp->attr_id));
287 CL_STATUS_MSG(status), cl_ntoh16(p_smp->attr_id),
288 ib_get_sm_attr_str(p_smp->attr_id));
317 Note that attr_id (like the rest of the MAD) is in
320 switch (p_smp->attr_id) {
328 cl_ntoh16(p_smp->attr_id));
386 Note that attr_id (lik
[all...]
H A Dosm_req.c157 IN ib_net16_t attr_id, IN ib_net32_t attr_mod,
172 CL_ASSERT(attr_id);
206 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id),
210 tid, attr_id, attr_mod, p_path->hop_count, local
241 IN ib_net16_t attr_id, IN ib_net32_t attr_mod,
255 CL_ASSERT(attr_id);
289 ib_get_sm_attr_str(attr_id), cl_ntoh16(attr_id),
293 tid, attr_id, attr_mo local
156 osm_req_get(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, IN ib_net16_t attr_id, IN ib_net32_t attr_mod, IN boolean_t find_mkey, ib_net64_t m_key, IN cl_disp_msgid_t err_msg, IN const osm_madw_context_t * p_context) argument
238 osm_prepare_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, IN const uint8_t * p_payload, IN size_t payload_size, IN ib_net16_t attr_id, IN ib_net32_t attr_mod, IN boolean_t find_mkey, IN ib_net64_t m_key, IN cl_disp_msgid_t err_msg, IN const osm_madw_context_t * p_context) argument
329 osm_req_set(IN osm_sm_t * sm, IN const osm_dr_path_t * p_path, IN const uint8_t * p_payload, IN size_t payload_size, IN ib_net16_t attr_id, IN ib_net32_t attr_mod, IN boolean_t find_mkey, IN ib_net64_t m_key, IN cl_disp_msgid_t err_msg, IN const osm_madw_context_t * p_context) argument
[all...]
H A Dosm_resp.c144 ib_get_sm_attr_str(p_smp->attr_id), cl_ntoh16(p_smp->attr_id),
H A Dosm_sa_mad_ctrl.c151 Note that attr_id (like the rest of the MAD) is in
154 switch (p_sa_mad->attr_id) {
232 cl_ntoh16(p_sa_mad->attr_id),
233 ib_get_sa_attr_str(p_sa_mad->attr_id));
254 cl_ntoh16(p_sa_mad->attr_id),
255 ib_get_sa_attr_str(p_sa_mad->attr_id));
351 p_sa_mad->method, cl_ntoh16(p_sa_mad->attr_id),
352 ib_get_sa_attr_str(p_sa_mad->attr_id));
437 ib_get_sa_attr_str(p_madw->p_mad->attr_id),
H A Dosm_vl15intf.c64 ib_net16_t attr_id; local
69 attr_id = p_smp->attr_id;
125 cl_ntoh16(attr_id), ib_get_sm_attr_str(attr_id));
H A Dosm_guid_info_rcv.c87 CL_ASSERT(p_smp->attr_id == IB_MAD_ATTR_GUID_INFO);
H A Dosm_pkey_rcv.c85 CL_ASSERT(p_smp->attr_id == IB_MAD_ATTR_P_KEY_TABLE);
H A Dosm_congestion_control.c68 ib_net16_t attr_id,
94 p_cc_mad->header.attr_id = attr_id;
462 cl_ntoh16(p_mad->status), cl_ntoh16(p_mad->attr_id),
492 if (p_cc_mad->header.attr_id == IB_MAD_ATTR_SW_CONG_SETTING) {
498 else if (p_cc_mad->header.attr_id == IB_MAD_ATTR_CA_CONG_SETTING) {
504 else if (p_cc_mad->header.attr_id == IB_MAD_ATTR_CC_TBL) {
515 cl_ntoh16(p_cc_mad->header.attr_id));
699 p_madw->p_mad->attr_id,
64 cc_mad_post(osm_congestion_control_t *p_cc, osm_madw_t *p_madw, osm_node_t *p_node, osm_physp_t *p_physp, ib_net16_t attr_id, ib_net32_t attr_mod) argument
H A Dosm_vl_arb_rcv.c93 CL_ASSERT(p_smp->attr_id == IB_MAD_ATTR_VL_ARBITRATION);
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_sa.c390 ib_net16_t attr_id; member in struct:_osmv_sa_mad_data
400 * attr_id
482 p_sa_mad_data->attr_id, /* attr id */
594 sa_mad_data.attr_id = p_user_query->attr_id;
602 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
610 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
619 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
629 sa_mad_data.attr_id = IB_MAD_ATTR_CLASS_PORT_INFO;
636 sa_mad_data.attr_id
[all...]
H A Dosm_vendor_ibumad_sa.c301 ib_net16_t attr_id; member in struct:_osmv_sa_mad_data
311 * attr_id
390 p_sa_mad_data->attr_id, /* attr id */
518 sa_mad_data.attr_id = p_user_query->attr_id;
526 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
534 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
543 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
553 sa_mad_data.attr_id = IB_MAD_ATTR_CLASS_PORT_INFO;
560 sa_mad_data.attr_id
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_sa_api.h183 ib_net16_t attr_id; member in struct:_osmv_user_query
195 * attr_id
455 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PATH_RECORD);
497 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_PORTINFO_RECORD);
539 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_NODE_RECORD);
581 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_SERVICE_RECORD);
622 CL_ASSERT(p_sa_mad && p_sa_mad->attr_id == IB_MAD_ATTR_MCMEMBER_RECORD);
668 && p_sa_mad->attr_id == IB_MAD_ATTR_INFORM_INFO_RECORD);
/freebsd-11-stable/contrib/binutils/binutils/
H A Dsysinfo.y50 %type <s> attr_desc attr_id attr_type
254 '(' attr_desc '(' attr_type attr_size ')' attr_id
377 attr_id: label
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c77 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO)
188 if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) {
196 if (in_mad->mad_hdr.attr_id == IB_PMA_PORT_COUNTERS_EXT) {
271 in_mad->attr_id = MLX5_ATTR_EXTENDED_PORT_INFO;
298 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
385 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC;
410 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO;
436 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE;
465 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO;
476 in_mad->attr_id
[all...]
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_mad.c115 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) {
139 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) {
154 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) {
241 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO ||
242 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) ==
256 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO &&
/freebsd-11-stable/sbin/camcontrol/
H A Dattrib.c71 int attr_id;
431 int attr_id; local
449 attr_id = scsi_2btoul(cur_id);
452 && (attr_id != attr_num))
455 entry = scsi_get_attrib_entry(attr_id);
456 fprintf(stdout, "0x%.4x", attr_id);
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dsmpdump.c70 uint16_t attr_id; member in struct:drsmp
93 smp->attr_id = (uint16_t) htons((uint16_t) attr);
118 smp->attr_id = (uint16_t) htons((uint16_t) attr);
132 smp->attr_id = (uint16_t) htons((uint16_t) attr);
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Deap_sake_common.c19 u8 attr_id, u8 len, const u8 *data)
23 switch (attr_id) {
133 if (attr_id < 128) {
135 " attribute %d", attr_id);
139 "attribute %d", attr_id);
18 eap_sake_parse_add_attr(struct eap_sake_parse_attr *attr, u8 attr_id, u8 len, const u8 *data) argument
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_sm.h404 IN ib_net16_t attr_id, IN ib_net32_t attr_mod,
417 * attr_id
477 IN size_t payload_size, IN ib_net16_t attr_id,
495 * attr_id
531 IN size_t payload_size, IN ib_net16_t attr_id,
549 * attr_id

Completed in 280 milliseconds

1234