Home
last modified time | relevance | path

Searched refs:mcg_attr (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_vnic.c426 ibt_mcg_attr_t mcg_attr; in eib_vnic_join_data_mcg() local
432 bzero(&mcg_attr, sizeof (ibt_mcg_attr_t)); in eib_vnic_join_data_mcg()
436 ld->ld_vhub_id, &(mcg_attr.mc_mgid)); in eib_vnic_join_data_mcg()
437 mcg_attr.mc_pkey = (ib_pkey_t)ld->ld_vhub_pkey; in eib_vnic_join_data_mcg()
438 mcg_attr.mc_qkey = (ib_qkey_t)EIB_DATA_QKEY; in eib_vnic_join_data_mcg()
465 mcg->mg_mgid = mcg_attr.mc_mgid; in eib_vnic_join_data_mcg()
476 mcg_attr.mc_join_state = mcg->mg_join_state; in eib_vnic_join_data_mcg()
477 mcg_attr.mc_flow = 0; in eib_vnic_join_data_mcg()
478 mcg_attr.mc_tclass = 0; in eib_vnic_join_data_mcg()
479 mcg_attr.mc_sl = 0; in eib_vnic_join_data_mcg()
[all …]
H A Denx_ibt.c195 ibt_mcg_attr_t mcg_attr; in eibnx_find_mgroups() local
216 bzero(&mcg_attr, sizeof (ibt_mcg_attr_t)); in eibnx_find_mgroups()
217 mcg_attr.mc_mgid = enx_solicit_mgid; in eibnx_find_mgroups()
218 mcg_attr.mc_pkey = (ib_pkey_t)EIB_ADMIN_PKEY; in eibnx_find_mgroups()
219 mcg_attr.mc_qkey = (ib_qkey_t)EIB_FIP_QKEY; in eibnx_find_mgroups()
221 if ((ret = ibt_query_mcg(rgid, &mcg_attr, 1, &info->ti_solicit_mcg, in eibnx_find_mgroups()
252 bzero(&mcg_attr, sizeof (ibt_mcg_attr_t)); in eibnx_find_mgroups()
253 mcg_attr.mc_mgid = enx_advertise_mgid; in eibnx_find_mgroups()
254 mcg_attr.mc_pkey = (ib_pkey_t)EIB_ADMIN_PKEY; in eibnx_find_mgroups()
255 mcg_attr.mc_qkey = (ib_qkey_t)EIB_FIP_QKEY; in eibnx_find_mgroups()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_ti.c4675 ibt_mcg_attr_t mcg_attr; member
4849 ibt_join_mcg(ib_gid_t rgid, ibt_mcg_attr_t *mcg_attr, in ibt_join_mcg() argument
4856 rgid.gid_guid, mcg_attr); in ibt_join_mcg()
4863 if ((mcg_attr->mc_pkey == IB_PKEY_INVALID_LIMITED) || in ibt_join_mcg()
4864 (mcg_attr->mc_pkey == IB_PKEY_INVALID_FULL)) { in ibt_join_mcg()
4869 if (mcg_attr->mc_join_state == 0) { in ibt_join_mcg()
4889 bcopy(mcg_attr, &mcg_tq->mcg_attr, sizeof (ibt_mcg_attr_t)); in ibt_join_mcg()
4944 if ((mcg_arg->mcg_attr.mc_pgid.gid_prefix == 0) || in ibcm_process_join_mcg()
4945 (mcg_arg->mcg_attr.mc_pgid.gid_guid == 0)) { in ibcm_process_join_mcg()
4950 mcg_req.PortGID = mcg_arg->mcg_attr.mc_pgid; in ibcm_process_join_mcg()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c876 ibt_mcg_attr_t mcg_attr; in rdma_ib_join_multicast() local
910 bzero(&mcg_attr, sizeof (mcg_attr)); in rdma_ib_join_multicast()
922 bcopy(&mcast_gid, &(mcg_attr.mc_mgid), sizeof (ib_gid_t)); in rdma_ib_join_multicast()
923 mcg_attr.mc_mtu_req.r_selector = IBT_BEST; in rdma_ib_join_multicast()
924 mcg_attr.mc_flow = 0; in rdma_ib_join_multicast()
925 mcg_attr.mc_hop = 0xFF; in rdma_ib_join_multicast()
926 mcg_attr.mc_tclass = 0; in rdma_ib_join_multicast()
927 mcg_attr.mc_sl = 0; in rdma_ib_join_multicast()
928 mcg_attr.mc_pkt_lt_req.p_selector = IBT_BEST; in rdma_ib_join_multicast()
929 mcg_attr.mc_pkey = devp->dev_pkey; in rdma_ib_join_multicast()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c3066 ibt_mcg_attr_t mcg_attr; in ibd_iba_join() local
3068 bzero(&mcg_attr, sizeof (ibt_mcg_attr_t)); in ibd_iba_join()
3069 mcg_attr.mc_qkey = state->id_mcinfo->mc_qkey; in ibd_iba_join()
3070 mcg_attr.mc_mgid = mgid; in ibd_iba_join()
3071 mcg_attr.mc_join_state = mce->mc_jstate; in ibd_iba_join()
3072 mcg_attr.mc_scope = state->id_scope; in ibd_iba_join()
3073 mcg_attr.mc_pkey = state->id_pkey; in ibd_iba_join()
3074 mcg_attr.mc_flow = state->id_mcinfo->mc_adds_vect.av_flow; in ibd_iba_join()
3075 mcg_attr.mc_sl = state->id_mcinfo->mc_adds_vect.av_srvl; in ibd_iba_join()
3076 mcg_attr.mc_tclass = state->id_mcinfo->mc_adds_vect.av_tclass; in ibd_iba_join()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/
H A Dibti_common.h1393 ibt_status_t ibt_join_mcg(ib_gid_t rgid, ibt_mcg_attr_t *mcg_attr,
1420 ibt_status_t ibt_query_mcg(ib_gid_t rgid, ibt_mcg_attr_t *mcg_attr,