Home
last modified time | relevance | path

Searched refs:gwi (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c55 eibnx_gw_info_t *gwi; in eibnx_cleanup_port_nodes() local
115 for (gwi = gw_list; gwi; gwi = nxt_gwi) { in eibnx_cleanup_port_nodes()
165 gwi->gw_guid); in eibnx_create_node_props()
206 gwi->gw_ctrl_qpn); in eibnx_create_node_props()
214 gwi->gw_lid); in eibnx_create_node_props()
222 gwi->gw_portid); in eibnx_create_node_props()
255 gwi->gw_sl); in eibnx_create_node_props()
550 eibnx_gw_info_t *gwi; in eibnx_locate_node_name() local
563 for (gwi = ti->ti_gw; gwi; gwi = gwi->gw_next) { in eibnx_locate_node_name()
573 if (gwi) { in eibnx_locate_node_name()
[all …]
H A Denx_hdlrs.c411 mutex_enter(&gwi->gw_adv_lock); in eibnx_is_gw_dead()
412 if ((cur_lbolt - gwi->gw_adv_last_lbolt) > gwi->gw_adv_timeout_ticks) { in eibnx_is_gw_dead()
414 mutex_exit(&gwi->gw_adv_lock); in eibnx_is_gw_dead()
417 mutex_exit(&gwi->gw_adv_lock); in eibnx_is_gw_dead()
430 mutex_enter(&gwi->gw_adv_lock); in eibnx_gw_is_alive()
435 mutex_exit(&gwi->gw_adv_lock); in eibnx_gw_is_alive()
462 mutex_exit(&gwi->gw_adv_lock); in eibnx_gw_is_aware()
477 eib_gwi.gi_lid = gwi->gw_lid; in eibnx_gw_is_aware()
482 eib_gwi.gi_sl = gwi->gw_sl; in eibnx_gw_is_aware()
666 eibnx_gw_info_t *gwi; in eibnx_process_rx() local
[all …]
H A Denx_q.c173 new_ch->ch_gwi = gwi; in eibnx_enqueue_child()
214 gwi->gw_portid, dip); in eibnx_update_child()
273 if (lgw->gw_portid == gwi->gw_portid) in eibnx_find_gw_in_gwlist()
308 gwi->gw_portid, info->ti_hca_guid, in eibnx_add_gw_to_gwlist()
321 gwi->gw_portid, info->ti_hca_guid, in eibnx_add_gw_to_gwlist()
332 new_gwi->gw_state = gwi->gw_state; in eibnx_add_gw_to_gwlist()
370 new_gwi->gw_guid = gwi->gw_guid; in eibnx_add_gw_to_gwlist()
375 new_gwi->gw_lid = gwi->gw_lid; in eibnx_add_gw_to_gwlist()
376 new_gwi->gw_portid = gwi->gw_portid; in eibnx_add_gw_to_gwlist()
379 new_gwi->gw_sl = gwi->gw_sl; in eibnx_add_gw_to_gwlist()
[all …]
H A Denx_fip.c442 eibnx_gw_info_t *gwi; in eibnx_fip_parse_advt_pkt() local
532 gwi = &(msg->u.gm_info); in eibnx_fip_parse_advt_pkt()
540 msg->gm_type = (gwi->gw_flag_ucast_advt) ? in eibnx_fip_parse_advt_pkt()
552 gwi->gw_lid = ntohs(desc_iba->ia_lid); in eibnx_fip_parse_advt_pkt()
555 gwi->gw_guid = ntohll(guid); in eibnx_fip_parse_advt_pkt()
561 gwi->gw_is_host_adm_vnics = 1; in eibnx_fip_parse_advt_pkt()
563 gwi->gw_is_host_adm_vnics = 0; in eibnx_fip_parse_advt_pkt()
568 gwi->gw_n_rss_qpn = ((rss_qpn_num_net_vnics & in eibnx_fip_parse_advt_pkt()
571 (gwi->gw_vendor_id)[FIP_VENDOR_LEN] = '\0'; in eibnx_fip_parse_advt_pkt()
577 gwi->gw_system_guid = ntohll(guid); in eibnx_fip_parse_advt_pkt()
[all …]
H A Denx_main.c549 eibnx_gw_info_t *gwi; in eibnx_config_all_children() local
578 while (eibnx_locate_unconfigured_node(&ti, &gwi) == ENX_E_SUCCESS) in eibnx_config_all_children()
579 (void) eibnx_configure_node(ti, gwi, NULL); in eibnx_config_all_children()
613 eibnx_gw_info_t *gwi; in eibnx_config_child() local
615 if (eibnx_locate_node_name(devname, &ti, &gwi) == ENX_E_FAILURE) { in eibnx_config_child()
621 return (eibnx_configure_node(ti, gwi, childp)); in eibnx_config_child()
629 eibnx_gw_info_t *gwi; in eibnx_unconfig_child() local
631 if (eibnx_locate_node_name(devname, &ti, &gwi) == ENX_E_FAILURE) { in eibnx_unconfig_child()
637 return (eibnx_unconfigure_node(ti, gwi)); in eibnx_unconfig_child()