Home
last modified time | relevance | path

Searched refs:sgid (Results 1 – 25 of 29) sorted by relevance

12

/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_cm.c185 ib_gid_t *sgid; in ibtl_cm_get_hca_port() local
243 sgid = &portinfop->p_sgid_tbl[0]; in ibtl_cm_get_hca_port()
244 for (i = 0; i < portinfop->p_sgid_tbl_sz; i++, sgid++) { in ibtl_cm_get_hca_port()
245 if ((gid.gid_guid != sgid->gid_guid) || in ibtl_cm_get_hca_port()
246 (gid.gid_prefix != sgid->gid_prefix)) in ibtl_cm_get_hca_port()
652 ib_gid_t sgid; in ibtl_cm_get_local_comp_gids() local
683 sgid = pinfop->p_sgid_tbl[j]; in ibtl_cm_get_local_comp_gids()
684 if (sgid.gid_prefix && sgid.gid_guid) { in ibtl_cm_get_local_comp_gids()
686 ((gid.gid_prefix == sgid.gid_prefix) && in ibtl_cm_get_local_comp_gids()
687 (gid.gid_guid == sgid.gid_guid))) { in ibtl_cm_get_local_comp_gids()
[all …]
H A Dibtl_chan.c1164 ibtl_find_sgid_ix(ib_gid_t *sgid, ibt_channel_hdl_t ud_chan, uint8_t port, in ibtl_find_sgid_ix() argument
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()
1182 (sgid->gid_prefix != sgidp->gid_prefix)) in ibtl_find_sgid_ix()
H A Dibtl_handlers.c1898 ibtl_cm_sm_notice_handler(ib_gid_t sgid, ibt_subnet_event_code_t code, in ibtl_cm_sm_notice_handler() argument
1911 noticep->np_sgid = sgid; in ibtl_cm_sm_notice_handler()
/titanic_44/usr/src/lib/libc/port/sys/
H A Dsidsys.c37 allocids(int flag, int nuids, uid_t *suid, int ngids, gid_t *sgid) in allocids() argument
51 if (sgid != NULL) in allocids()
52 *sgid = (gid_t)rv.sys_rval2; in allocids()
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c83 ibt_ip_addr_t destaddr, ib_gid_t *sgid, ib_gid_t *dgid, in ibcm_arp_get_ibaddr() argument
92 myzoneid, srcaddr, destaddr, sgid, dgid, saddrp); in ibcm_arp_get_ibaddr()
118 if (sgid) in ibcm_arp_get_ibaddr()
119 *sgid = wqnp->sgid; in ibcm_arp_get_ibaddr()
126 if (wqnp->usrc_addr.family && sgid) { in ibcm_arp_get_ibaddr()
150 if (sgid) in ibcm_arp_get_ibaddr()
151 *sgid = wqnp->dgid; in ibcm_arp_get_ibaddr()
160 sgid->gid_prefix, sgid->gid_guid, in ibcm_arp_get_ibaddr()
177 " DGID: %llX:%llX", sgid->gid_prefix, sgid->gid_guid, in ibcm_arp_get_ibaddr()
H A Dibcm_arp_link.c392 bcopy(&wqnp->src_mac.ipoib_gidpref, &wqnp->sgid, sizeof (ib_gid_t)); in ibcm_resolver_ack()
395 IBCM_H2N_GID(wqnp->sgid); in ibcm_resolver_ack()
H A Dibcm_ti.c3486 ibt_query_ar(ib_gid_t *sgid, ibt_ar_t *queryp, ibt_ar_t *resultp) in ibt_query_ar() argument
3504 (longlong_t)sgid->gid_prefix, (longlong_t)sgid->gid_guid); in ibt_query_ar()
3522 if (ibtl_cm_get_hca_port(*sgid, 0, &cm_port) != IBT_SUCCESS || in ibt_query_ar()
5750 ib_gid_t sgid; in ibt_gid_to_node_info() local
5758 sgid = hcap->hca_port_info[j].port_sgid0; in ibt_gid_to_node_info()
5759 if (gid.gid_prefix != sgid.gid_prefix) { in ibt_gid_to_node_info()
5763 gid.gid_prefix, sgid.gid_prefix); in ibt_gid_to_node_info()
5778 sgid, gid, 0, 0, B_TRUE, &npaths, 0, &len, in ibt_gid_to_node_info()
5793 gid.gid_guid, sgid.gid_guid); in ibt_gid_to_node_info()
6226 ib_gid_t sgid; in ibt_get_companion_port_gids() local
[all …]
H A Dibcm_path.c3742 ib_gid_t sgid, dgid1, dgid2; in ibcm_process_get_ip_paths() local
3768 sgid.gid_prefix = sgid.gid_guid = 0; in ibcm_process_get_ip_paths()
3771 p_arg->attr.ipa_src_ip, p_arg->attr.ipa_dst_ip[0], &sgid, in ibcm_process_get_ip_paths()
3782 attr.pa_sgid = sgid; in ibcm_process_get_ip_paths()
H A Dibcm_sm.c5067 ib_gid_t sgid = inp_mad_addr->grh_hdr.ig_sender_gid; in ibcm_build_reply_mad_addr() local
5072 out_mad_addr->grh_hdr.ig_recver_gid = sgid; in ibcm_build_reply_mad_addr()
5404 ib_gid_t sgid; in ibcm_set_alt_adds_vect() local
5416 bcopy(&msgp->req_alt_r_port_gid[0], &sgid, sizeof (ib_gid_t)); in ibcm_set_alt_adds_vect()
5421 bcopy(&msgp->req_alt_l_port_gid[0], &sgid, sizeof (ib_gid_t)); in ibcm_set_alt_adds_vect()
5426 adds_vectp->av_sgid.gid_prefix = b2h64(sgid.gid_prefix); in ibcm_set_alt_adds_vect()
5427 adds_vectp->av_sgid.gid_guid = b2h64(sgid.gid_guid); in ibcm_set_alt_adds_vect()
/titanic_44/usr/src/uts/common/sys/ib/ibtl/impl/
H A Dibtl_cm.h86 ibt_status_t ibtl_cm_get_hca_port(ib_gid_t sgid, ib_guid_t hca_guid,
90 ibt_status_t ibtl_cm_get_local_comp_gids(ib_guid_t hca_guid, ib_gid_t sgid,
234 void ibtl_cm_sm_notice_handler(ib_gid_t sgid, ibt_subnet_event_code_t code,
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_arp.h68 ib_gid_t sgid; member
103 ibt_ip_addr_t destip, ib_gid_t *sgid, ib_gid_t *dgid,
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_q.c297 ib_gid_t sgid; in eibnx_add_gw_to_gwlist() local
357 sgid = info->ti_pi->p_sgid_tbl[0]; in eibnx_add_gw_to_gwlist()
359 sgid.gid_prefix; in eibnx_add_gw_to_gwlist()
411 ib_gid_t sgid; in eibnx_replace_gw_in_gwlist() local
569 sgid = info->ti_pi->p_sgid_tbl[0]; in eibnx_replace_gw_in_gwlist()
570 new_gw_sn_prefix = sgid.gid_prefix; in eibnx_replace_gw_in_gwlist()
H A Deib_ibt.c969 ib_gid_t sgid = ss->ei_props->ep_sgid; in eib_ibt_record_srate() local
977 path_attr.pa_dgids = &sgid; in eib_ibt_record_srate()
979 path_attr.pa_sgid = sgid; in eib_ibt_record_srate()
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_saa.h407 ib_gid_t sgid,
451 ib_gid_t sgid,
/titanic_44/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_user_sa.h50 uint8_t sgid[16]; member
/titanic_44/usr/src/uts/common/sys/ib/clients/of/
H A Dofed_kernel.h168 union ib_gid sgid; member
/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa.c918 ibmf_saa_gid_to_pathrecords(ibmf_saa_handle_t ibmf_saa_handle, ib_gid_t sgid, in ibmf_saa_gid_to_pathrecords() argument
968 path_record.SGID = sgid; in ibmf_saa_gid_to_pathrecords()
1060 ibmf_saa_paths_from_gid(ibmf_saa_handle_t ibmf_saa_handle, ib_gid_t sgid, in ibmf_saa_paths_from_gid() argument
1083 path_record.SGID = sgid; in ibmf_saa_paths_from_gid()
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c1993 ib_gid_t sgid; in ibdm_get_reachable_ports() local
2002 sgid.gid_prefix = portinfo->pa_sn_prefix; in ibdm_get_reachable_ports()
2003 sgid.gid_guid = portinfo->pa_port_guid; in ibdm_get_reachable_ports()
2007 sgid, IBMF_SAA_PKEY_WC, B_TRUE, 0, &nrecs, &length, &result) in ibdm_get_reachable_ports()
4234 ib_gid_t sgid, dgid; in ibdm_probe_ioc() local
4305 sgid.gid_prefix = port->pa_sn_prefix; in ibdm_probe_ioc()
4306 sgid.gid_guid = port->pa_port_guid; in ibdm_probe_ioc()
4309 new_gid = ibdm_create_gid_info(port, sgid, in ibdm_probe_ioc()
4501 ibdm_create_gid_info(ibdm_port_attr_t *port, ib_gid_t sgid, ib_gid_t dgid) in ibdm_create_gid_info() argument
4516 sgid, dgid, IBMF_SAA_PKEY_WC, 0, B_TRUE, &npaths, 0, in ibdm_create_gid_info()
[all …]
/titanic_44/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h2566 ib_gid_t sgid; \
2582 (udav).mgid_index, &sgid); \
2583 bcopy(&sgid, &tmp[2], sizeof (ib_gid_t)); \
2690 #define TAVOR_SGID_FROM_INDX_GET(state, port, sgid_ix, sgid) \ argument
2691 (sgid)->gid_prefix = ddi_get64((state)->ts_reg_cmdhdl, \
2696 (sgid)->gid_guid = ddi_get64((state)->ts_reg_cmdhdl, \
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_misc.c1835 ib_gid_t *sgid; in tavor_port_query() local
1936 sgid = &pi->p_sgid_tbl[indx]; in tavor_port_query()
1937 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*sgid)) in tavor_port_query()
1938 sgid->gid_prefix = portinfo.GidPrefix; in tavor_port_query()
1939 sgid->gid_guid = guidinfo.GUIDBlocks[j]; in tavor_port_query()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c845 o_gid_t sgid; in ufs_iupdat() local
930 sgid = (ulong_t)ip->i_gid > (ulong_t)USHRT_MAX ? in ufs_iupdat()
933 if ((ip->i_suid != suid) || (ip->i_sgid != sgid)) { in ufs_iupdat()
935 ip->i_sgid = sgid; in ufs_iupdat()
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c1905 ib_gid_t *sgid; in hermon_port_query() local
2010 sgid = &pi->p_sgid_tbl[indx]; in hermon_port_query()
2011 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*sgid)) in hermon_port_query()
2012 sgid->gid_prefix = portinfo.GidPrefix; in hermon_port_query()
2013 guidp[indx] = sgid->gid_guid = in hermon_port_query()
/titanic_44/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c2082 ib_gid_t *sgid; in daplka_ep_connect() local
2131 sgid = &ia_rp->ia_hca_sgid; in daplka_ep_connect()
2142 status = ibt_query_ar(sgid, &ar_query_s, &ar_result_s); in daplka_ep_connect()
7483 ib_gid_t sgid; in daplka_ia_create() local
7544 sgid = pinfop->p_sgid_tbl[0]; in daplka_ia_create()
7554 ia_rp->ia_hca_sgid = sgid; in daplka_ia_create()
8027 ib_gid_t *sgid = &gid; in daplka_sm_notice_handler() local
8036 daplka_sm_gid_avail(sgid, dgid); in daplka_sm_notice_handler()
8056 daplka_sm_gid_avail(ib_gid_t *sgid, ib_gid_t *dgid) in daplka_sm_gid_avail() argument
8064 (longlong_t)sgid->gid_prefix, (longlong_t)sgid->gid_guid, in daplka_sm_gid_avail()
[all …]
/titanic_44/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h4991 ib_gid_t sgid; \
5006 sgid.gid_prefix = (state)->hs_sn_prefix[(qp)->qp_portnum]; \
5007 sgid.gid_guid = (state)->hs_guid[(qp)->qp_portnum] \
5009 bcopy(&sgid, &tmp[2], sizeof (ib_gid_t)); \
/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1888 bcopy(&kern_path->sgid, &usr_path->sgid, 16);

12