/titanic_44/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() 204 (gid.gid_guid == fast_gid.gid_guid) && in ibtl_cm_get_hca_port() 245 if ((gid.gid_guid != sgid->gid_guid) || in ibtl_cm_get_hca_port() 259 portinfop->p_sgid_tbl[0].gid_guid; in ibtl_cm_get_hca_port() 352 attr->pa_sgid.gid_guid) { in ibtl_cm_get_cnt() 355 if (gid.gid_prefix && gid.gid_guid) { in ibtl_cm_get_cnt() 358 (attr->pa_sgid.gid_guid != in ibtl_cm_get_cnt() 359 gid.gid_guid)) { in ibtl_cm_get_cnt() 373 if (gid.gid_prefix && gid.gid_guid) { 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() 1181 if ((sgid->gid_guid != sgidp->gid_guid) || in ibtl_find_sgid_ix() 1239 adds_vect.av_dgid.gid_guid = b2h64(grh->SGID.gid_guid); in ibt_modify_reply_ud_dest() 1241 adds_vect.av_sgid.gid_guid = b2h64(grh->DGID.gid_guid); in ibt_modify_reply_ud_dest() 1252 adds_vect.av_dgid.gid_guid = 0; in ibt_modify_reply_ud_dest() 1253 adds_vect.av_sgid.gid_guid = 0; in ibt_modify_reply_ud_dest() 1627 adds_vectp->av_sgid.gid_guid = 0; in ibt_query_ah()
|
/titanic_44/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() 269 path_cachep->dgid.gid_guid = 0ULL; in ibcm_path_cache_check() 278 if (path_cachep->dgid.gid_guid == 0ULL) in ibcm_path_cache_check() 284 path_cachep->dgid.gid_guid != dgid.gid_guid || in ibcm_path_cache_check() 319 if ((dgid.gid_guid | dgid.gid_prefix) == 0ULL) in ibcm_path_cache_add() 327 path_cachep->dgid.gid_guid == dgid.gid_guid && in ibcm_path_cache_add() 336 if (path_cachep->dgid.gid_guid != 0ULL) { in ibcm_path_cache_add() 515 attrp->pa_sgid.gid_prefix, attrp->pa_sgid.gid_guid, in ibcm_validate_path_attributes() 604 gid.gid_guid); in ibcm_validate_path_attributes() 615 (gid.gid_guid == 0)) { in ibcm_validate_path_attributes() [all …]
|
H A D | ibcm_ti.c | 230 (chan_args->oc_cm_redirect_info->rdi_gid.gid_guid == 0)) { in ibt_open_rc_channel() 710 req_msgp->req_primary_l_port_gid.gid_guid = in ibt_open_rc_channel() 711 h2b64(IBCM_PRIM_ADDS_VECT(chan_args).av_sgid.gid_guid); in ibt_open_rc_channel() 714 req_msgp->req_primary_r_port_gid.gid_guid = in ibt_open_rc_channel() 715 h2b64(IBCM_PRIM_ADDS_VECT(chan_args).av_dgid.gid_guid); in ibt_open_rc_channel() 719 IBCM_PRIM_ADDS_VECT(chan_args).av_dgid.gid_guid; in ibt_open_rc_channel() 754 IBCM_PRIM_ADDS_VECT(chan_args).av_dgid.gid_guid); in ibt_open_rc_channel() 770 tmp_gid.gid_guid = in ibt_open_rc_channel() 771 h2b64(IBCM_ALT_ADDS_VECT(chan_args).av_dgid.gid_guid); in ibt_open_rc_channel() 776 tmp_gid.gid_guid = in ibt_open_rc_channel() [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() 260 ipp->ip_hca_guid, ipp->ip_port_gid.gid_guid, in ibcm_arp_get_ibd_insts() 542 aip->ip_port_gid.gid_guid); in ibcm_arp_get_ibds()
|
H A D | ibcm_sm.c | 597 msgp->im_global_addr.ig_recver_gid.gid_guid, in _NOTE() 598 msgp->im_global_addr.ig_sender_gid.gid_guid); in _NOTE() 4503 gid.gid_prefix = gid.gid_guid = 0; in ibcm_process_sidr_req_msg() 4578 if (gid.gid_guid == in ibcm_process_sidr_req_msg() 4579 tmp_bindp->sbind_gid.gid_guid && 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() 5355 adds_vectp->av_dgid.gid_guid = in ibcm_set_primary_adds_vect() 5356 b2h64(msgp->req_primary_l_port_gid.gid_guid); in ibcm_set_primary_adds_vect() 5359 adds_vectp->av_sgid.gid_guid = in ibcm_set_primary_adds_vect() [all …]
|
H A D | ibcm_utils.c | 566 srch_param->srch_gid.gid_guid, srch_param->srch_grh_exists, in ibcm_find_sidr_entry() 581 usp->ud_sidr_req_gid.gid_guid, usp->ud_grh_exists, in ibcm_find_sidr_entry() 588 ((srch_param->srch_gid.gid_guid == 0) || in ibcm_find_sidr_entry() 589 (srch_param->srch_gid.gid_guid == in ibcm_find_sidr_entry() 590 usp->ud_sidr_req_gid.gid_guid)) && in ibcm_find_sidr_entry() 615 srch_param->srch_gid.gid_guid, srch_param->srch_grh_exists, in ibcm_find_sidr_entry() 646 srch_param->srch_gid.gid_guid, srch_param->srch_grh_exists, in ibcm_add_sidr_entry() 1836 srv_rec->ServiceGID.gid_prefix, srv_rec->ServiceGID.gid_guid); in ibcm_dump_srvrec() 1871 path_rec->SGID.gid_guid); in ibcm_dump_pathrec() 1875 path_rec->DGID.gid_guid); in ibcm_dump_pathrec()
|
/titanic_44/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_cm.c | 118 rgid.gid_prefix, rgid.gid_guid, lgid.gid_prefix, lgid.gid_guid); in rds_handle_cm_req() 188 sp = rds_session_lkup(statep, ipcm_info.SRCIP, rgid.gid_guid); in rds_handle_cm_req() 203 rgid.gid_guid); in rds_handle_cm_req() 224 if (lgid.gid_guid > rgid.gid_guid) { in rds_handle_cm_req() 357 if (sp->session_lgid.gid_guid != lgid.gid_guid) { in rds_handle_cm_req() 362 sp->session_lgid.gid_guid, lgid.gid_guid); in rds_handle_cm_req() 414 if (lgid.gid_guid > rgid.gid_guid) { in rds_handle_cm_req() 832 gid.gid_guid); in rds_bind_service() 842 gid.gid_prefix, gid.gid_guid, ret); in rds_bind_service()
|
H A D | rdsib_ep.c | 321 (sp->session_rgid.gid_guid == node_guid))) { in rds_session_lkup() 477 "HCA: %llx", sp->session_lgid.gid_guid); in rds_session_init() 549 "uninitialized HCA: %llx", lgid.gid_guid); in rds_session_reinit() 556 "is unplugged", sp->session_lgid.gid_guid); in rds_session_reinit() 882 lgid.gid_guid = 0; in rds_failover_session() 884 rgid.gid_guid = 0; in rds_failover_session() 931 lgid.gid_prefix, lgid.gid_guid, rgid.gid_prefix, in rds_failover_session() 932 rgid.gid_guid); in rds_failover_session() 1333 lgid.gid_guid = 0; in rds_session_create() 1335 rgid.gid_guid = 0; in rds_session_create() [all …]
|
H A D | rdsib_ib.c | 543 statep, gid.gid_prefix, gid.gid_guid); in rds_gid_to_hcap() 557 hcap, gid.gid_guid); in rds_gid_to_hcap() 565 (hcap->hca_pinfop[ix].p_sgid_tbl[0].gid_guid == in rds_gid_to_hcap() 566 gid.gid_guid)) { in rds_gid_to_hcap() 1385 gid.gid_prefix, gid.gid_guid); 1390 "failed", gid.gid_prefix, gid.gid_guid); 1470 event->ev_port, gid.gid_prefix, gid.gid_guid, ret); in rds_handle_portup_event()
|
/titanic_44/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() 167 gmt.gid.gid_guid = gid.gid_guid; in dapli_ns_create_gid_map() 171 &gid.gid_prefix, &gid.gid_guid); in dapli_ns_create_gid_map() 248 gid->gid_guid = gmt->gid.gid_guid; in dapls_ns_lookup_address() 420 gid->gid_guid = BETOH_64(tmp_gid.gid_guid); in dapls_ns_lookup_v4() 508 gid->gid_guid = BETOH_64(tmp_gid.gid_guid); in dapls_ns_lookup_v6()
|
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_vnic.c | 487 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey, in eib_vnic_join_data_mcg() 508 mcg->mg_mgid.gid_guid, mcg->mg_join_state, ret); in eib_vnic_join_data_mcg() 519 (elem->mg_mgid.gid_guid == mcg_attr.mc_mgid.gid_guid)) { in eib_vnic_join_data_mcg() 1484 mgid->gid_guid = ntohll(em.gd_sol.gid_guid); in eib_vnic_make_vhub_mgid() 1554 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey, ret); in eib_vnic_attach_vhub_table() 1567 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey); in eib_vnic_attach_vhub_table() 1594 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey, in eib_vnic_attach_vhub_table() 1611 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey); in eib_vnic_attach_vhub_table() 1659 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey, ret); in eib_vnic_attach_vhub_update() 1672 mcg_attr.mc_mgid.gid_guid, mcg_attr.mc_pkey); in eib_vnic_attach_vhub_update() [all …]
|
H A D | enx_ibt.c | 172 enx_solicit_mgid.gid_guid = 0; in eibnx_state_init() 174 enx_advertise_mgid.gid_guid = 0; in eibnx_state_init() 225 enx_solicit_mgid.gid_guid, ret); in eibnx_find_mgroups() 236 enx_solicit_mgid.gid_guid, info->ti_solicit_mcg->mc_mtu, in eibnx_find_mgroups() 243 enx_solicit_mgid.gid_guid, info->ti_solicit_mcg->mc_qkey, in eibnx_find_mgroups() 262 enx_advertise_mgid.gid_guid, ret); in eibnx_find_mgroups() 272 enx_advertise_mgid.gid_guid, in eibnx_find_mgroups() 279 enx_advertise_mgid.gid_prefix, enx_advertise_mgid.gid_guid, in eibnx_find_mgroups() 689 enx_solicit_mgid.gid_guid, ret); in eibnx_join_solicit_mcg() 736 enx_advertise_mgid.gid_guid, ret); in eibnx_join_advertise_mcg() [all …]
|
H A D | eib_ibt.c | 216 ss->ei_props->ep_sgid.gid_guid, in eib_ibt_link_mod() 218 pi->p_sgid_tbl[0].gid_guid); in eib_ibt_link_mod() 416 dgid.gid_guid = ni.n_port_guid; in eib_ibt_fill_avect() 432 dgid.gid_prefix, dgid.gid_guid); in eib_ibt_fill_avect()
|
H A D | enx_hdlrs.c | 317 notice_gid.gid_guid == enx_solicit_mgid.gid_guid) || in eibnx_subnet_notices_handler() 319 notice_gid.gid_guid == enx_advertise_mgid.gid_guid)) { in eibnx_subnet_notices_handler()
|
H A D | enx_fip.c | 234 port_guid = htonll(port_gid.gid_guid); in eibnx_fip_make_solicit_pkt() 297 gw_addr->ga_gid.gid_prefix, gw_addr->ga_gid.gid_guid); in eibnx_setup_ud_dest()
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_arp.h | 45 ptr = (uint32_t *)&gid.gid_guid; \ 46 gid.gid_guid = (uint64_t)(((uint64_t)ntohl(ptr[0]) << 32) | \
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_misc.c | 213 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in tavor_ah_alloc() 362 attr_p->av_dgid.gid_guid = ah->ah_save_guid; in tavor_ah_query() 429 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in tavor_ah_modify() 604 status = tavor_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in tavor_mcg_attach() 735 (mcg->mcg_mgid_l == gid.gid_guid)) { in tavor_mcg_attach() 1026 status = tavor_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in tavor_mcg_detach() 1065 (mcg->mcg_mgid_l != gid.gid_guid))) { in tavor_mcg_detach() 1328 (curr_mcghdl->mcg_mgid_l == mgid.gid_guid)) { in tavor_mcg_walk_mgid_hash() 1339 (curr_mcghdl->mcg_mgid_l == mgid.gid_guid)) { in tavor_mcg_walk_mgid_hash() 1374 mcg->mcg_mgid_l = mgid.gid_guid; in tavor_mcg_setup_new_hdr() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 551 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in hermon_ah_alloc() 626 attr_p->av_dgid.gid_guid = ah->ah_save_guid; in hermon_ah_query() 674 ah->ah_save_guid = attr_p->av_dgid.gid_guid; in hermon_ah_modify() 765 status = hermon_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in hermon_mcg_attach() 896 (mcg->mcg_mgid_l == gid.gid_guid)) { in hermon_mcg_attach() 1171 status = hermon_mgid_hash_cmd_post(state, gid.gid_prefix, gid.gid_guid, in hermon_mcg_detach() 1210 (mcg->mcg_mgid_l != gid.gid_guid))) { in hermon_mcg_detach() 1450 (curr_mcghdl->mcg_mgid_l == mgid.gid_guid)) { in hermon_mcg_walk_mgid_hash() 1461 (curr_mcghdl->mcg_mgid_l == mgid.gid_guid)) { in hermon_mcg_walk_mgid_hash() 1493 mcg->mcg_mgid_l = mgid.gid_guid; in hermon_mcg_setup_new_hdr() [all …]
|
/titanic_44/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 1009 if (new_gid.gid_guid != port->hwp_gid.gid_guid || in srpt_ioc_svc_bind() 1026 (u_longlong_t)new_gid.gid_guid); in srpt_ioc_svc_bind() 1040 port->hwp_gid.gid_guid = new_gid.gid_guid; 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() 1080 port->hwp_gid.gid_guid); in srpt_ioc_svc_unbind() 1096 port->hwp_gid.gid_guid = 0; in srpt_ioc_svc_unbind()
|
H A D | srpt_cm.c | 112 req->req_prim_addr.av_sgid.gid_guid); in srpt_cm_req_hdlr() 115 req->req_prim_addr.av_dgid.gid_guid); in srpt_cm_req_hdlr()
|
/titanic_44/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() 1017 (longlong_t)gid.gid_guid); in iser_ib_handle_portup_event() 1444 (hca->hca_port_info[i].p_sgid_tbl[0].gid_guid == in iser_ib_gid2hca() 1445 gid.gid_guid)) { in iser_ib_gid2hca() 1674 (longlong_t)gid.gid_prefix, (longlong_t)gid.gid_guid); in iser_ib_activate_port() 1748 (is_sbind->is_gid.gid_guid == gid.gid_guid)) { in iser_ib_get_bind()
|
/titanic_44/usr/src/uts/common/sys/ib/ |
H A D | ib_types.h | 80 #define gid_guid gid.ucast_gid.ugid_guid macro
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdm/ |
H A D | ibdm.c | 1009 port_attr->pa_port_guid = portinfop[ii].p_sgid_tbl->gid_guid; in ibdm_handle_hca_attach() 2003 sgid.gid_guid = portinfo->pa_port_guid; in ibdm_get_reachable_ports() 2019 if ((gid_info = ibdm_check_dgid(precp->DGID.gid_guid, in ibdm_get_reachable_ports() 2036 gid_info->gl_dgid_lo = precp->DGID.gid_guid; in ibdm_get_reachable_ports() 2038 gid_info->gl_sgid_lo = precp->SGID.gid_guid; in ibdm_get_reachable_ports() 2055 if (ibdm_is_cisco(precp->DGID.gid_guid) && in ibdm_get_reachable_ports() 2058 precp->DGID.gid_guid, &nrec, &length) == IBDM_SUCCESS) { in ibdm_get_reachable_ports() 4306 sgid.gid_guid = port->pa_port_guid; in ibdm_probe_ioc() 4308 dgid.gid_guid = tmp->NodeInfo.PortGUID; in ibdm_probe_ioc() 4335 new_gid->gl_portguid = dgid.gid_guid; in ibdm_probe_ioc() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_recv.c | 479 gid.gid_guid = b2h64(ib_grh->SGID.gid_guid); in ibmf_i_do_recv_cb() 884 msgimplp->im_global_addr.ig_sender_gid.gid_guid = in ibmf_i_do_recv_cb() 885 b2h64(ib_grh->SGID.gid_guid); in ibmf_i_do_recv_cb() 888 msgimplp->im_global_addr.ig_recver_gid.gid_guid = in ibmf_i_do_recv_cb() 889 b2h64(ib_grh->DGID.gid_guid); in ibmf_i_do_recv_cb()
|