Home
last modified time | relevance | path

Searched refs:node_guid (Results 1 – 25 of 98) sorted by relevance

1234

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mcast_fwd_rcv.c71 ib_net64_t node_guid; in osm_mft_rcv_process() local
91 node_guid = p_mft_context->node_guid; in osm_mft_rcv_process()
96 block_num, position, cl_ntoh64(node_guid), in osm_mft_rcv_process()
107 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid); in osm_mft_rcv_process()
112 "0x%016" PRIx64 "\n", cl_ntoh64(node_guid)); in osm_mft_rcv_process()
122 ib_get_err_str(status), cl_ntoh64(node_guid), in osm_mft_rcv_process()
H A Dosm_lin_fwd_rcv.c67 ib_net64_t node_guid; in osm_lft_rcv_process() local
85 node_guid = p_lft_context->node_guid; in osm_lft_rcv_process()
95 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid); in osm_lft_rcv_process()
100 "0x%" PRIx64 "\n", cl_ntoh64(node_guid)); in osm_lft_rcv_process()
117 ib_get_err_str(status), cl_ntoh64(node_guid), in osm_lft_rcv_process()
H A Dosm_node_info_rcv.c122 context.ni_context.node_guid = in requery_dup_node_info()
155 if (p_ni_context->node_guid == 0) { in ni_rcv_set_links()
163 p_ni_context->node_guid); in ni_rcv_set_links()
167 cl_ntoh64(p_ni_context->node_guid)); in ni_rcv_set_links()
379 context.nd_context.node_guid = in osm_req_get_node_desc()
693 cl_ntoh64(p_ni->node_guid), port_num, in ni_rcv_process_new()
810 cl_ntoh64(p_ni->node_guid)); in ni_rcv_process_new()
862 cl_ntoh64(p_ni->node_guid), in ni_rcv_process_existing()
871 cl_ntoh64(p_ni->node_guid), port_num, in ni_rcv_process_existing()
903 cl_ntoh64(p_ni->node_guid)); in ni_rcv_process_existing()
[all …]
H A Dosm_guid_info_rcv.c74 ib_net64_t port_guid, node_guid; in osm_gi_rcv_process() local
92 node_guid = p_context->node_guid; in osm_gi_rcv_process()
94 osm_dump_guid_info_v2(sm->p_log, node_guid, port_guid, block_num, p_gi, in osm_gi_rcv_process()
112 cl_ntoh64(port_guid), cl_ntoh64(node_guid), in osm_gi_rcv_process()
H A Dosm_slvl_map_rcv.c75 ib_net64_t node_guid; in osm_slvl_rcv_process() local
91 node_guid = p_context->node_guid; in osm_slvl_rcv_process()
111 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_slvl_rcv_process()
139 cl_ntoh32(attr_mod), cl_ntoh64(node_guid)); in osm_slvl_rcv_process()
153 cl_ntoh64(port_guid), cl_ntoh64(node_guid), in osm_slvl_rcv_process()
H A Dosm_node_desc_rcv.c104 ib_net64_t node_guid; in osm_nd_rcv_process() local
123 node_guid = osm_madw_get_nd_context_ptr(p_madw)->node_guid; in osm_nd_rcv_process()
125 p_node = osm_get_node_by_guid(sm->p_subn, node_guid); in osm_nd_rcv_process()
129 "0x%" PRIx64 "\n", cl_ntoh64(node_guid)); in osm_nd_rcv_process()
H A Dosm_mlnx_ext_port_info_rcv.c73 ib_net64_t port_guid, node_guid; in osm_mlnx_epi_rcv_process() local
90 node_guid = p_context->node_guid; in osm_mlnx_epi_rcv_process()
92 osm_dump_mlnx_ext_port_info_v2(sm->p_log, node_guid, port_guid, port_num, in osm_mlnx_epi_rcv_process()
104 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_mlnx_epi_rcv_process()
H A Dosm_vl_arb_rcv.c76 ib_net64_t node_guid; in osm_vla_rcv_process() local
91 node_guid = p_context->node_guid; in osm_vla_rcv_process()
109 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_vla_rcv_process()
134 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_vla_rcv_process()
H A Dosm_pkey_rcv.c67 ib_net64_t node_guid; in osm_pkey_rcv_process() local
83 node_guid = p_context->node_guid; in osm_pkey_rcv_process()
101 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_pkey_rcv_process()
128 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_pkey_rcv_process()
H A Dosm_perfmgr.c227 uint64_t node_guid = context->perfmgr_context.node_guid; in perfmgr_mad_send_err_callback() local
530 uint64_t node_guid = cl_ntoh64(node->node_info.node_guid); in collect_guids() local
553 node_guid); in collect_guids()
558 mon_node->guid = node_guid; in collect_guids()
703 uint64_t node_guid = 0; in perfmgr_query_counters() local
721 node_guid = cl_ntoh64(node->node_info.node_guid); in perfmgr_query_counters()
757 mad_context.perfmgr_context.node_guid = node_guid; in perfmgr_query_counters()
783 node_guid, port, cl_ntoh16(lid), in perfmgr_query_counters()
816 node->node_info.node_guid, in perfmgr_query_counters()
902 context.ni_context.node_guid = in sweep_hop_1()
[all …]
H A Dosm_sw_info_rcv.c83 context.lft_context.node_guid = osm_node_get_node_guid(p_node);
140 context.mft_context.node_guid = osm_node_get_node_guid(p_node);
346 context.pi_context.node_guid = osm_node_get_node_guid(node); in si_rcv_get_sp0_info()
388 ib_net64_t node_guid; in osm_si_rcv_process() local
400 node_guid = p_context->node_guid; in osm_si_rcv_process()
404 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_si_rcv_process()
415 p_node = osm_get_node_by_guid(sm->p_subn, node_guid); in osm_si_rcv_process()
420 "with GUID 0x%" PRIx64 "\n", cl_ntoh64(node_guid)); in osm_si_rcv_process()
H A Dosm_port_info_rcv.c233 context.pi_context.node_guid = osm_node_get_node_guid(p_node); in pi_rcv_process_switch_port0()
331 context.pi_context.node_guid = osm_node_get_node_guid(p_node); in pi_rcv_process_switch_ext_port()
373 context.ni_context.node_guid = in pi_rcv_process_switch_ext_port()
481 context.pkey_context.node_guid = osm_node_get_node_guid(p_node); in get_pkey_table()
653 ib_net64_t port_guid, node_guid; in osm_pi_rcv_process() local
676 node_guid = p_context->node_guid; in osm_pi_rcv_process()
678 osm_dump_port_info_v2(sm->p_log, node_guid, port_guid, port_num, p_pi, in osm_pi_rcv_process()
702 cl_ntoh64(node_guid), cl_ntoh64(port_guid)); in osm_pi_rcv_process()
717 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_pi_rcv_process()
759 cl_ntoh64(node_guid), cl_ntoh64(p_smp->trans_id)); in osm_pi_rcv_process()
[all …]
H A Dosm_drop_mgr.c310 ib_net64_t node_guid; in drop_mgr_remove_switch() local
314 node_guid = osm_node_get_node_guid(p_node); in drop_mgr_remove_switch()
317 p_sw = (osm_switch_t *) cl_qmap_remove(p_sw_guid_tbl, node_guid); in drop_mgr_remove_switch()
391 ib_net64_t node_guid; in drop_mgr_check_switch_node() local
400 node_guid = osm_node_get_node_guid(p_node); in drop_mgr_check_switch_node()
407 cl_ntoh64(node_guid)); in drop_mgr_check_switch_node()
418 cl_ntoh64(node_guid)); in drop_mgr_check_switch_node()
431 cl_ntoh64(node_guid)); in drop_mgr_check_switch_node()
440 cl_ntoh64(node_guid)); in drop_mgr_check_switch_node()
H A Dosm_console.c674 uint64_t node_guid; member
687 rep->node_guid = node_guid; in __tag_port_report()
799 cl_ntoh64(node->node_info.node_guid), in __get_stats()
811 cl_ntoh64(node->node_info.node_guid), in __get_stats()
817 cl_ntoh64(node->node_info.node_guid), in __get_stats()
825 cl_ntoh64(node->node_info.node_guid), in __get_stats()
831 cl_ntoh64(node->node_info.node_guid), in __get_stats()
864 cl_ntoh64(node->node_info.node_guid), in __get_stats()
876 cl_ntoh64(node->node_info.node_guid), in __get_stats()
921 cl_ntoh64(node->node_info.node_guid), in __get_stats()
[all …]
H A Dosm_congestion_control.c109 p_madw->context.cc_context.node_guid = osm_node_get_node_guid(p_node); in cc_mad_post()
452 ib_net64_t node_guid = p_mad_context->cc_context.node_guid; in cc_rcv_mad() local
464 cl_ntoh64(node_guid), port); in cc_rcv_mad()
547 cl_ntoh64(mad_context.cc_context.node_guid), in cc_poller_send()
668 uint64_t node_guid = p_madw_context->cc_context.node_guid; in cc_mad_send_err_callback() local
701 cl_ntoh64(node_guid), in cc_mad_send_err_callback()
H A Dosm_helper.c838 static void osm_dump_port_info_to_buf(IN ib_net64_t node_guid, in osm_dump_port_info_to_buf() argument
892 port_num, cl_ntoh64(node_guid), cl_ntoh64(port_guid), in osm_dump_port_info_to_buf()
933 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info()
961 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info_v2()
1012 osm_dump_mlnx_ext_port_info_to_buf(node_guid, port_guid, in osm_dump_mlnx_ext_port_info()
1027 osm_dump_mlnx_ext_port_info_to_buf(node_guid, port_guid, in osm_dump_mlnx_ext_port_info_v2()
1199 block_num, cl_ntoh64(node_guid), cl_ntoh64(port_guid), in osm_dump_guid_info_to_buf()
1215 osm_dump_guid_info_to_buf(node_guid, port_guid, in osm_dump_guid_info()
1231 osm_dump_guid_info_to_buf(node_guid, port_guid, in osm_dump_guid_info_v2()
1319 cl_ntoh64(p_ni->sys_guid), cl_ntoh64(p_ni->node_guid), in osm_dump_node_info_to_buf()
[all …]
H A Dosm_mcast_mgr.c363 context.mft_context.node_guid = osm_node_get_node_guid(p_node); in mcast_mgr_set_mft_block()
375 cl_ntoh64(context.mft_context.node_guid)); in mcast_mgr_set_mft_block()
499 ib_net64_t node_guid; in mcast_mgr_branch() local
511 node_guid = osm_node_get_node_guid(p_sw->p_node); in mcast_mgr_branch()
516 mlid_ho, cl_ntoh64(node_guid), p_sw->p_node->print_desc, in mcast_mgr_branch()
542 cl_ntoh64(node_guid), p_sw->p_node->print_desc); in mcast_mgr_branch()
671 mlid_ho, cl_ntoh64(node_guid), i); in mcast_mgr_branch()
1089 context.si_context.node_guid = osm_node_get_node_guid(p_node); in mcast_mgr_set_mfttop()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_madw.h148 ib_net64_t node_guid; member
180 ib_net64_t node_guid; member
199 ib_net64_t node_guid; member
216 ib_net64_t node_guid; member
230 ib_net64_t node_guid; member
247 ib_net64_t node_guid; member
262 ib_net64_t node_guid; member
293 ib_net64_t node_guid; member
309 ib_net64_t node_guid; member
325 ib_net64_t node_guid; member
[all …]
H A Dosm_event_plugin.h87 uint64_t node_guid; member
197 osm_epi_create_port_id(osm_epi_port_id_t * port_id, uint64_t node_guid, in osm_epi_create_port_id() argument
200 port_id->node_guid = node_guid; in osm_epi_create_port_id()
H A Dosm_helper.h212 void osm_dump_port_info(IN osm_log_t * p_log, IN ib_net64_t node_guid,
217 void osm_dump_port_info_v2(IN osm_log_t * p_log, IN ib_net64_t node_guid,
260 void osm_dump_guid_info(IN osm_log_t * p_log, IN ib_net64_t node_guid,
265 void osm_dump_guid_info_v2(IN osm_log_t * p_log, IN ib_net64_t node_guid,
298 void osm_dump_mlnx_ext_port_info(IN osm_log_t * p_log, IN ib_net64_t node_guid,
303 void osm_dump_mlnx_ext_port_info_v2(IN osm_log_t * p_log, IN ib_net64_t node_guid,
H A Dosm_perfmgr_db.h139 uint64_t node_guid; member
168 perfmgr_db_err_t perfmgr_db_update_name(perfmgr_db_t * db, uint64_t node_guid,
/freebsd/sys/dev/mlx5/
H A Dvport.h96 u32 vport, u64 node_guid);
132 int mlx5_query_vport_node_guid(struct mlx5_core_dev *dev, u64 *node_guid);
135 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid);
138 int mlx5_query_hca_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid);
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c57 uint64_t node_guid = be64toh(_node_guid); in guid_str() local
59 (unsigned) (node_guid >> 48) & 0xffff, in guid_str()
60 (unsigned) (node_guid >> 32) & 0xffff, in guid_str()
61 (unsigned) (node_guid >> 16) & 0xffff, in guid_str()
62 (unsigned) (node_guid >> 0) & 0xffff); in guid_str()
449 printf("\tnode_guid:\t\t\t%s\n", guid_str(device_attr.orig_attr.node_guid, buf)); in print_hca_cap()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eswitch.c1187 ((u8 *)node_guid)[7] = mac[0]; in node_guid_gen_from_mac()
1188 ((u8 *)node_guid)[6] = mac[1]; in node_guid_gen_from_mac()
1189 ((u8 *)node_guid)[5] = mac[2]; in node_guid_gen_from_mac()
1190 ((u8 *)node_guid)[4] = 0xff; in node_guid_gen_from_mac()
1191 ((u8 *)node_guid)[3] = 0xfe; in node_guid_gen_from_mac()
1192 ((u8 *)node_guid)[2] = mac[3]; in node_guid_gen_from_mac()
1193 ((u8 *)node_guid)[1] = mac[4]; in node_guid_gen_from_mac()
1194 ((u8 *)node_guid)[0] = mac[5]; in node_guid_gen_from_mac()
1201 u64 node_guid; in mlx5_eswitch_set_vport_mac() local
1216 node_guid_gen_from_mac(&node_guid, mac); in mlx5_eswitch_set_vport_mac()
[all …]
H A Dmlx5_vport.c359 int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid) in mlx5_query_nic_vport_node_guid() argument
373 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
374 nic_vport_context.node_guid); in mlx5_query_nic_vport_node_guid()
509 u32 vport, u64 node_guid) in mlx5_modify_nic_vport_node_guid() argument
530 field_select.node_guid, 1); in mlx5_modify_nic_vport_node_guid()
537 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
1109 *node_guid = MLX5_GET64(query_hca_vport_context_out, out, in mlx5_query_hca_vport_node_guid()
1110 hca_vport_context.node_guid); in mlx5_query_hca_vport_node_guid()
1764 int mlx5_query_vport_node_guid(struct mlx5_core_dev *dev, u64 *node_guid) in mlx5_query_vport_node_guid() argument
1768 return mlx5_query_hca_vport_node_guid(dev, node_guid); in mlx5_query_vport_node_guid()
[all …]

1234