/titanic_50/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_cm.c | 193 gid.gid_prefix, gid.gid_guid, hca_guid); in ibtl_cm_get_hca_port() 195 if ((gid.gid_prefix == 0) || (gid.gid_guid == 0)) { in ibtl_cm_get_hca_port() 205 (gid.gid_prefix == fast_gid.gid_prefix)) { in ibtl_cm_get_hca_port() 246 (gid.gid_prefix != sgid->gid_prefix)) in ibtl_cm_get_hca_port() 351 attr->pa_sgid.gid_prefix && in ibtl_cm_get_cnt() 355 if (gid.gid_prefix && gid.gid_guid) { in ibtl_cm_get_cnt() 356 if ((attr->pa_sgid.gid_prefix != in ibtl_cm_get_cnt() 357 gid.gid_prefix) || in ibtl_cm_get_cnt() 373 if (gid.gid_prefix && gid.gid_guid) { in ibtl_cm_get_cnt() 375 attr->pa_sgid.gid_prefix && in ibtl_cm_get_cnt() [all …]
|
H A D | ibtl_chan.c | 1173 sgid->gid_prefix == 0 || sgid->gid_guid == 0) { in ibtl_find_sgid_ix() 1182 (sgid->gid_prefix != sgidp->gid_prefix)) in ibtl_find_sgid_ix() 1238 adds_vect.av_dgid.gid_prefix = b2h64(grh->SGID.gid_prefix); in ibt_modify_reply_ud_dest() 1240 adds_vect.av_sgid.gid_prefix = b2h64(grh->DGID.gid_prefix); in ibt_modify_reply_ud_dest() 1250 adds_vect.av_dgid.gid_prefix = 0; in ibt_modify_reply_ud_dest() 1251 adds_vect.av_sgid.gid_prefix = 0; in ibt_modify_reply_ud_dest() 1626 adds_vectp->av_sgid.gid_prefix = 0; in ibt_query_ah()
|
H A D | ibtl_hca.c | 988 sn_pfx = p1->p_sgid_tbl[0].gid_prefix; in ibtl_reinit_hca_portinfo() 990 p1->p_sgid_tbl[0].gid_prefix) { in ibtl_reinit_hca_portinfo() 996 p1->p_sgid_tbl[0].gid_prefix); in ibtl_reinit_hca_portinfo() 1082 sn_pfx = p1->p_sgid_tbl[0].gid_prefix; in ibtl_init_hca_portinfo() 1083 } else if (p1->p_sgid_tbl[0].gid_prefix != sn_pfx) { in ibtl_init_hca_portinfo() 1088 sn_pfx, p1->p_sgid_tbl[0].gid_prefix); in ibtl_init_hca_portinfo()
|
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_path.c | 260 if ((dgid.gid_guid | dgid.gid_prefix) == 0ULL) in ibcm_path_cache_check() 270 path_cachep->dgid.gid_prefix = 0ULL; in ibcm_path_cache_check() 285 path_cachep->dgid.gid_prefix != dgid.gid_prefix || in ibcm_path_cache_check() 319 if ((dgid.gid_guid | dgid.gid_prefix) == 0ULL) in ibcm_path_cache_add() 328 path_cachep->dgid.gid_prefix == dgid.gid_prefix && in ibcm_path_cache_add() 515 attrp->pa_sgid.gid_prefix, attrp->pa_sgid.gid_guid, in ibcm_validate_path_attributes() 603 "DGID[%d] = %llX:%llX", i, gid.gid_prefix, in ibcm_validate_path_attributes() 607 if ((gid.gid_prefix >> 56ULL & 0xFF) == 0xFF) { in ibcm_validate_path_attributes() 614 } else if ((gid.gid_prefix == 0) || in ibcm_validate_path_attributes() 688 n_gid.gid_prefix = n_gid.gid_guid = 0; in ibcm_process_get_paths() [all …]
|
H A D | ibcm_ti.c | 708 req_msgp->req_primary_l_port_gid.gid_prefix = in ibt_open_rc_channel() 709 h2b64(IBCM_PRIM_ADDS_VECT(chan_args).av_sgid.gid_prefix); in ibt_open_rc_channel() 712 req_msgp->req_primary_r_port_gid.gid_prefix = in ibt_open_rc_channel() 713 h2b64(IBCM_PRIM_ADDS_VECT(chan_args).av_dgid.gid_prefix); in ibt_open_rc_channel() 753 IBCM_PRIM_ADDS_VECT(chan_args).av_dgid.gid_prefix, in ibt_open_rc_channel() 768 tmp_gid.gid_prefix = in ibt_open_rc_channel() 769 h2b64(IBCM_ALT_ADDS_VECT(chan_args).av_dgid.gid_prefix); in ibt_open_rc_channel() 774 tmp_gid.gid_prefix = in ibt_open_rc_channel() 775 h2b64(IBCM_ALT_ADDS_VECT(chan_args).av_sgid.gid_prefix); in ibt_open_rc_channel() 805 IBCM_ALT_ADDS_VECT(chan_args).av_dgid.gid_prefix, in ibt_open_rc_channel() [all …]
|
H A D | ibcm_sm.c | 4503 gid.gid_prefix = gid.gid_guid = 0; in ibcm_process_sidr_req_msg() 4580 gid.gid_prefix == in ibcm_process_sidr_req_msg() 4581 tmp_bindp->sbind_gid.gid_prefix) { in ibcm_process_sidr_req_msg() 4703 gid.gid_prefix = gid.gid_guid = 0; in ibcm_process_sidr_rep_msg() 4714 "grh = %x, id = %x", lid, gid.gid_prefix, gid.gid_guid, in ibcm_process_sidr_rep_msg() 5353 adds_vectp->av_dgid.gid_prefix = in ibcm_set_primary_adds_vect() 5354 b2h64(msgp->req_primary_l_port_gid.gid_prefix); in ibcm_set_primary_adds_vect() 5357 adds_vectp->av_sgid.gid_prefix = in ibcm_set_primary_adds_vect() 5358 b2h64(msgp->req_primary_r_port_gid.gid_prefix); in ibcm_set_primary_adds_vect() 5364 adds_vectp->av_dgid.gid_prefix = in ibcm_set_primary_adds_vect() [all …]
|
H A D | ibcm_arp.c | 160 sgid->gid_prefix, sgid->gid_guid, in ibcm_arp_get_ibaddr() 161 dgid->gid_prefix, dgid->gid_guid); in ibcm_arp_get_ibaddr() 177 " DGID: %llX:%llX", sgid->gid_prefix, sgid->gid_guid, in ibcm_arp_get_ibaddr() 178 dgid->gid_prefix, dgid->gid_guid); in ibcm_arp_get_ibaddr() 541 aip->ip_hca_guid, aip->ip_port_gid.gid_prefix, in ibcm_arp_get_ibds()
|
H A D | ibcm_utils.c | 565 srch_param->srch_lid, srch_param->srch_gid.gid_prefix, in ibcm_find_sidr_entry() 580 usp->ud_sidr_req_lid, usp->ud_sidr_req_gid.gid_prefix, in ibcm_find_sidr_entry() 585 ((srch_param->srch_gid.gid_prefix == 0) || in ibcm_find_sidr_entry() 586 (srch_param->srch_gid.gid_prefix == in ibcm_find_sidr_entry() 587 usp->ud_sidr_req_gid.gid_prefix)) && in ibcm_find_sidr_entry() 614 srch_param->srch_lid, srch_param->srch_gid.gid_prefix, in ibcm_find_sidr_entry() 1836 srv_rec->ServiceGID.gid_prefix, srv_rec->ServiceGID.gid_guid); in ibcm_dump_srvrec() 1869 path_rec->SGID.gid_prefix); in ibcm_dump_pathrec() 1873 path_rec->DGID.gid_prefix); in ibcm_dump_pathrec()
|
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_name_service.c | 137 &gid.gid_prefix, &gid.gid_guid); in dapli_ns_create_gid_map() 166 gmt.gid.gid_prefix = gid.gid_prefix; in dapli_ns_create_gid_map() 171 &gid.gid_prefix, &gid.gid_guid); in dapli_ns_create_gid_map() 249 gid->gid_prefix = gmt->gid.gid_prefix; in dapls_ns_lookup_address() 419 gid->gid_prefix = BETOH_64(tmp_gid.gid_prefix); in dapls_ns_lookup_v4() 507 gid->gid_prefix = BETOH_64(tmp_gid.gid_prefix); in dapls_ns_lookup_v6()
|
/titanic_50/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_q.c | 354 new_gwi->gw_addr.ga_gid.gid_prefix = in eibnx_add_gw_to_gwlist() 355 ntohll(grh->SGID.gid_prefix); in eibnx_add_gw_to_gwlist() 358 new_gwi->gw_addr.ga_gid.gid_prefix = in eibnx_add_gw_to_gwlist() 359 sgid.gid_prefix; in eibnx_add_gw_to_gwlist() 567 new_gw_sn_prefix = ntohll(grh->SGID.gid_prefix); in eibnx_replace_gw_in_gwlist() 570 new_gw_sn_prefix = sgid.gid_prefix; in eibnx_replace_gw_in_gwlist() 572 if (new_gw_sn_prefix != orig_gwi->gw_addr.ga_gid.gid_prefix) { in eibnx_replace_gw_in_gwlist() 574 orig_gwi->gw_addr.ga_gid.gid_prefix, new_gw_sn_prefix); in eibnx_replace_gw_in_gwlist() 592 orig_gwi->gw_addr.ga_gid.gid_prefix = new_gw_sn_prefix; in eibnx_replace_gw_in_gwlist()
|
H A D | eib_vnic.c | 486 "jstate=0x%x) failed, ret=%d", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_join_data_mcg() 507 "failed, ret=%d", mcg->mg_mgid.gid_prefix, in eib_vnic_join_data_mcg() 518 if ((elem->mg_mgid.gid_prefix == mcg_attr.mc_mgid.gid_prefix) && in eib_vnic_join_data_mcg() 1483 mgid->gid_prefix = ntohll(em.gd_sol.gid_prefix); in eib_vnic_make_vhub_mgid() 1553 "ret=%d", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_table() 1566 "(mgid=%llx.%llx, pkey=0x%x)", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_table() 1593 "failed, ret=%d", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_table() 1610 "failed, ret=%d", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_table() 1658 "ret=%d", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_update() 1671 "(mgid=%llx.%llx, pkey=0x%x)", mcg_attr.mc_mgid.gid_prefix, in eib_vnic_attach_vhub_update() [all …]
|
H A D | enx_ibt.c | 171 enx_solicit_mgid.gid_prefix = EIB_GUID_SOLICIT_PREFIX; in eibnx_state_init() 173 enx_advertise_mgid.gid_prefix = EIB_GUID_ADVERTISE_PREFIX; in eibnx_state_init() 224 "ibt_query_mcg() returned %d", enx_solicit_mgid.gid_prefix, in eibnx_find_mgroups() 235 "0x%x > 0x%x", enx_solicit_mgid.gid_prefix, in eibnx_find_mgroups() 242 "actual=0x%x, expected=0x%x", enx_solicit_mgid.gid_prefix, in eibnx_find_mgroups() 261 enx_advertise_mgid.gid_prefix, in eibnx_find_mgroups() 271 "0x%x > 0x%x", enx_advertise_mgid.gid_prefix, in eibnx_find_mgroups() 279 enx_advertise_mgid.gid_prefix, enx_advertise_mgid.gid_guid, in eibnx_find_mgroups() 688 "mgid=%llx.%llx, ret=%x", enx_solicit_mgid.gid_prefix, in eibnx_join_solicit_mcg() 735 "mgid=%llx.%llx, ret=%x", enx_advertise_mgid.gid_prefix, in eibnx_join_advertise_mcg() [all …]
|
H A D | enx_hdlrs.c | 316 if ((notice_gid.gid_prefix == enx_solicit_mgid.gid_prefix && in eibnx_subnet_notices_handler() 318 (notice_gid.gid_prefix == enx_advertise_mgid.gid_prefix && in eibnx_subnet_notices_handler() 472 eib_gwi.gi_sn_prefix = gwi->gw_addr.ga_gid.gid_prefix; in eibnx_gw_is_aware()
|
H A D | eib_ibt.c | 215 ss->ei_props->ep_sgid.gid_prefix, in eib_ibt_link_mod() 217 pi->p_sgid_tbl[0].gid_prefix, in eib_ibt_link_mod() 415 dgid.gid_prefix = ss->ei_gw_props->pp_gw_sn_prefix; in eib_ibt_fill_avect() 432 dgid.gid_prefix, dgid.gid_guid); in eib_ibt_fill_avect()
|
/titanic_50/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_arp.h | 42 ptr = (uint32_t *)&gid.gid_prefix; \ 43 gid.gid_prefix = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \
|
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_misc.c | 604 status = tavor_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in tavor_mcg_attach() 734 if ((mcg->mcg_mgid_h == gid.gid_prefix) && in tavor_mcg_attach() 1026 status = tavor_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in tavor_mcg_detach() 1064 ((mcg->mcg_mgid_h != gid.gid_prefix) || in tavor_mcg_detach() 1327 if ((curr_mcghdl->mcg_mgid_h == mgid.gid_prefix) && in tavor_mcg_walk_mgid_hash() 1338 if ((curr_mcghdl->mcg_mgid_h == mgid.gid_prefix) && in tavor_mcg_walk_mgid_hash() 1373 mcg->mcg_mgid_h = mgid.gid_prefix; in tavor_mcg_setup_new_hdr() 1382 mcg_hdr->mgid_h = mgid.gid_prefix; in tavor_mcg_setup_new_hdr() 1631 topbits = (gid.gid_prefix >> TAVOR_MCG_TOPBITS_SHIFT) & in tavor_mgid_is_valid() 1646 flags = (gid.gid_prefix >> TAVOR_MCG_FLAGS_SHIFT) & in tavor_mgid_is_valid() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 765 status = hermon_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in hermon_mcg_attach() 895 if ((mcg->mcg_mgid_h == gid.gid_prefix) && in hermon_mcg_attach() 1171 status = hermon_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in hermon_mcg_detach() 1209 ((mcg->mcg_mgid_h != gid.gid_prefix) || in hermon_mcg_detach() 1449 if ((curr_mcghdl->mcg_mgid_h == mgid.gid_prefix) && in hermon_mcg_walk_mgid_hash() 1460 if ((curr_mcghdl->mcg_mgid_h == mgid.gid_prefix) && in hermon_mcg_walk_mgid_hash() 1492 mcg->mcg_mgid_h = mgid.gid_prefix; in hermon_mcg_setup_new_hdr() 1501 mcg_hdr->mgid_h = mgid.gid_prefix; in hermon_mcg_setup_new_hdr() 1738 topbits = (gid.gid_prefix >> HERMON_MCG_TOPBITS_SHIFT) & in hermon_mgid_is_valid() 1750 flags = (gid.gid_prefix >> HERMON_MCG_FLAGS_SHIFT) & in hermon_mgid_is_valid() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ep.c | 881 lgid.gid_prefix = 0; in rds_failover_session() 883 rgid.gid_prefix = 0; in rds_failover_session() 931 lgid.gid_prefix, lgid.gid_guid, rgid.gid_prefix, in rds_failover_session() 1332 lgid.gid_prefix = 0; in rds_session_create() 1334 rgid.gid_prefix = 0; in rds_session_create() 1352 "lgid: %llx:%llx rgid: %llx:%llx", lgid.gid_prefix, in rds_session_create() 1353 lgid.gid_guid, rgid.gid_prefix, rgid.gid_guid); in rds_session_create() 1365 lgid.gid_prefix, lgid.gid_guid, rgid.gid_prefix, in rds_session_create() 2103 lgid.gid_prefix = 0; in rds_sendmsg() 2105 rgid.gid_prefix = 0; in rds_sendmsg() [all …]
|
H A D | rdsib_cm.c | 118 rgid.gid_prefix, rgid.gid_guid, lgid.gid_prefix, lgid.gid_guid); in rds_handle_cm_req() 831 hcap->hca_pinfop[jx].p_port_num, gid.gid_prefix, in rds_bind_service() 842 gid.gid_prefix, gid.gid_guid, ret); in rds_bind_service()
|
/titanic_50/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 1010 new_gid.gid_prefix != port->hwp_gid.gid_prefix) { in srpt_ioc_svc_bind() 1025 (u_longlong_t)new_gid.gid_prefix, in srpt_ioc_svc_bind() 1039 port->hwp_gid.gid_prefix = new_gid.gid_prefix; in srpt_ioc_svc_bind() 1048 ALIAS_STR(sess.ss_t_gid, new_gid.gid_prefix, new_gid.gid_guid); in srpt_ioc_svc_bind() 1079 ALIAS_STR(sess.ss_t_gid, port->hwp_gid.gid_prefix, in srpt_ioc_svc_unbind() 1095 port->hwp_gid.gid_prefix = 0; in srpt_ioc_svc_unbind()
|
H A D | srpt_cm.c | 111 req->req_prim_addr.av_sgid.gid_prefix, in srpt_cm_req_hdlr() 114 req->req_prim_addr.av_dgid.gid_prefix, in srpt_cm_req_hdlr()
|
/titanic_50/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 449 (longlong_t)lgid.gid_prefix, (longlong_t)lgid.gid_guid, in iser_ib_alloc_channel_pathlookup() 1016 status, (longlong_t)gid.gid_prefix, in iser_ib_handle_portup_event() 1442 if ((hca->hca_port_info[i].p_sgid_tbl[0].gid_prefix == in iser_ib_gid2hca() 1443 gid.gid_prefix) && in iser_ib_gid2hca() 1674 (longlong_t)gid.gid_prefix, (longlong_t)gid.gid_guid); in iser_ib_activate_port() 1747 (is_sbind->is_gid.gid_prefix == gid.gid_prefix) && in iser_ib_get_bind()
|
/titanic_50/usr/src/uts/common/sys/ib/ |
H A D | ib_types.h | 79 #define gid_prefix gid.ucast_gid.ugid_prefix macro
|
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_recv.c | 478 gid.gid_prefix = b2h64(ib_grh->SGID.gid_prefix); in ibmf_i_do_recv_cb() 882 msgimplp->im_global_addr.ig_sender_gid.gid_prefix = in ibmf_i_do_recv_cb() 883 b2h64(ib_grh->SGID.gid_prefix); in ibmf_i_do_recv_cb() 886 msgimplp->im_global_addr.ig_recver_gid.gid_prefix = in ibmf_i_do_recv_cb() 887 b2h64(ib_grh->DGID.gid_prefix); in ibmf_i_do_recv_cb()
|
/titanic_50/usr/src/uts/common/io/ib/mgt/ibdm/ |
H A D | ibdm.c | 711 port->pa_sn_prefix = pinfop->p_sgid_tbl[0].gid_prefix; in ibdm_update_port_pkeys() 753 port->pa_sn_prefix = pinfop->p_sgid_tbl[0].gid_prefix; in ibdm_initialize_port() 902 port->pa_sn_prefix = portinfop->p_sgid_tbl[0].gid_prefix; in ibdm_update_port_attr() 1010 port_attr->pa_sn_prefix = portinfop[ii].p_sgid_tbl->gid_prefix; in ibdm_handle_hca_attach() 2002 sgid.gid_prefix = portinfo->pa_sn_prefix; in ibdm_get_reachable_ports() 2020 precp->DGID.gid_prefix)) != NULL) { in ibdm_get_reachable_ports() 2035 gid_info->gl_dgid_hi = precp->DGID.gid_prefix; in ibdm_get_reachable_ports() 2037 gid_info->gl_sgid_hi = precp->SGID.gid_prefix; in ibdm_get_reachable_ports() 4305 sgid.gid_prefix = port->pa_sn_prefix; in ibdm_probe_ioc() 4307 dgid.gid_prefix = pi->PortInfo.GidPrefix; in ibdm_probe_ioc() [all …]
|