/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_mcast_fwd_rcv.c | 71 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 D | osm_lin_fwd_rcv.c | 67 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 D | osm_node_info_rcv.c | 83 cl_ntoh64(p_physp->p_node->node_info.node_guid), in report_duplicated_guid() 85 p_old ? cl_ntoh64(p_old->p_node->node_info.node_guid) : 0, in report_duplicated_guid() 87 p_new ? cl_ntoh64(p_new->p_node->node_info.node_guid) : 0, in report_duplicated_guid() 122 context.ni_context.node_guid = in requery_dup_node_info() 125 context.ni_context.dup_node_guid = p_physp->p_node->node_info.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() 251 if (osm_node_get_node_guid(p_node) == p_ni_context->node_guid && in ni_rcv_set_links() 284 cl_ntoh64(p_ni_context->node_guid), p_ni_context->port_num); in ni_rcv_set_links() [all …]
|
H A D | osm_guid_info_rcv.c | 74 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 D | osm_slvl_map_rcv.c | 75 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 D | osm_node_desc_rcv.c | 104 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 D | osm_mlnx_ext_port_info_rcv.c | 73 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 D | osm_pkey_rcv.c | 67 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 D | osm_vl_arb_rcv.c | 76 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 D | osm_perfmgr.c | 227 uint64_t node_guid = context->perfmgr_context.node_guid; in perfmgr_mad_send_err_callback() local 239 if ((p_node = cl_qmap_get(&pm->monitored_map, node_guid)) == in perfmgr_mad_send_err_callback() 242 PRIx64 " not found in monitored map\n", node_guid); in perfmgr_mad_send_err_callback() 530 uint64_t node_guid = cl_ntoh64(node->node_info.node_guid); in collect_guids() local 538 if (cl_qmap_get(&pm->monitored_map, node_guid) == in collect_guids() 553 node_guid); in collect_guids() 558 mon_node->guid = node_guid; in collect_guids() 582 mon_port->remote_guid = p_remote_node->node_info.node_guid; in collect_guids() 588 cl_qmap_insert(&pm->monitored_map, node_guid, in collect_guids() 703 uint64_t node_guid = 0; in perfmgr_query_counters() local [all …]
|
H A D | osm_sw_info_rcv.c | 83 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 D | osm_port_info_rcv.c | 233 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 D | osm_drop_mgr.c | 310 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 D | osm_console.c | 674 uint64_t node_guid; member 680 __tag_port_report(port_report_t ** head, uint64_t node_guid, in __tag_port_report() argument 687 rep->node_guid = node_guid; in __tag_port_report() 703 item->node_guid, item->port_num, item->print_desc); in __print_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() 853 cl_ntoh64(node->node_info.node_guid), in __get_stats() [all …]
|
H A D | osm_congestion_control.c | 109 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 D | osm_helper.c | 838 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() 925 void osm_dump_port_info(IN osm_log_t * p_log, IN ib_net64_t node_guid, in osm_dump_port_info() argument 933 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info() 953 void osm_dump_port_info_v2(IN osm_log_t * p_log, IN ib_net64_t node_guid, in osm_dump_port_info_v2() argument 961 osm_dump_port_info_to_buf(node_guid, port_guid, in osm_dump_port_info_v2() 981 static void osm_dump_mlnx_ext_port_info_to_buf(IN ib_net64_t node_guid, in osm_dump_mlnx_ext_port_info_to_buf() argument 998 port_num, cl_ntoh64(node_guid), cl_ntoh64(port_guid), in osm_dump_mlnx_ext_port_info_to_buf() 1004 void osm_dump_mlnx_ext_port_info(IN osm_log_t * p_log, IN ib_net64_t node_guid, in osm_dump_mlnx_ext_port_info() argument 1012 osm_dump_mlnx_ext_port_info_to_buf(node_guid, port_guid, in osm_dump_mlnx_ext_port_info() [all …]
|
H A D | osm_mcast_mgr.c | 363 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 D | osm_madw.h | 148 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 D | osm_event_plugin.h | 87 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 D | osm_helper.h | 212 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 D | osm_perfmgr_db.h | 139 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 D | vport.h | 96 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 D | devinfo.c | 57 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 D | mlx5_eswitch.c | 1159 static void node_guid_gen_from_mac(u64 *node_guid, u8 mac[ETH_ALEN]) in mlx5_eswitch_cleanup() 1161 ((u8 *)node_guid)[7] = mac[0]; 1162 ((u8 *)node_guid)[6] = mac[1]; in mlx5_eswitch_vport_event() 1163 ((u8 *)node_guid)[5] = mac[2]; in mlx5_eswitch_vport_event() 1164 ((u8 *)node_guid)[4] = 0xff; in mlx5_eswitch_vport_event() 1165 ((u8 *)node_guid)[3] = 0xfe; in mlx5_eswitch_vport_event() 1166 ((u8 *)node_guid)[2] = mac[3]; in mlx5_eswitch_vport_event() 1167 ((u8 *)node_guid)[1] = mac[4]; in mlx5_eswitch_vport_event() 1168 ((u8 *)node_guid)[0] = mac[5]; in mlx5_eswitch_vport_event() 1175 u64 node_guid; in mlx5_eswitch_vport_event() 1185 node_guid_gen_from_mac(u64 * node_guid,u8 mac[ETH_ALEN]) node_guid_gen_from_mac() argument 1201 u64 node_guid; mlx5_eswitch_set_vport_mac() local [all...] |
H A D | mlx5_vport.c | 359 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() 1095 int mlx5_query_hca_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid) in mlx5_query_hca_vport_node_guid() argument 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 [all …]
|