Searched refs:mlid (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_multicast.h103 ib_net16_t mlid; member in struct:osm_mgrp
118 * mlid
152 uint16_t mlid; member in struct:osm_mgrp_box
158 * mlid
182 osm_mgrp_t *osm_mgrp_new(IN osm_subn_t * subn, IN ib_net16_t mlid,
189 * mlid
311 return p_mgrp->mlid;
H A Dosm_subnet.h1480 * This looks for the given multicast group in the subnet table by mlid.
1486 static inline struct osm_mgrp_box *osm_get_mbox_by_mlid(osm_subn_t const *p_subn, ib_net16_t mlid) argument
1488 return (struct osm_mgrp_box *)p_subn->mboxes[cl_ntoh16(mlid) - IB_LID_MCAST_START_HO];
1495 * mlid
1496 * [in] The multicast group mlid in network order
H A Dosm_sm.h620 void osm_sm_reroute_mlid(osm_sm_t * sm, ib_net16_t mlid);
627 * mlid
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_multicast.c58 static osm_mgrp_box_t *mgrp_box_new(uint16_t mlid) argument
65 mbox->mlid = mlid;
119 osm_mgrp_t *osm_mgrp_new(IN osm_subn_t * subn, IN ib_net16_t mlid, argument
132 p_mgrp->mlid = mlid;
135 mbox = osm_get_mbox_by_mlid(subn, p_mgrp->mlid);
136 if (!mbox && !(mbox = mgrp_box_new(cl_ntoh16(p_mgrp->mlid)))) {
142 subn->mboxes[mbox->mlid - IB_LID_MCAST_START_HO] = mbox;
179 mbox = osm_get_mbox_by_mlid(subn, mgrp->mlid);
[all...]
H A Dosm_mcast_mgr.c466 static void mcast_mgr_purge_list(osm_sm_t * sm, uint16_t mlid, cl_qlist_t * list) argument
476 mlid, cl_ntoh64(osm_port_get_guid(wobj->p_port)));
773 mbox->mlid, num_ports);
798 mbox->mlid);
804 mbox->root = mcast_mgr_branch(sm, mbox->mlid, p_sw, &port_list, 0, 0,
809 mbox->mlid, num_ports, max_depth);
861 static void mcast_mgr_clear(osm_sm_t * sm, uint16_t mlid) argument
874 osm_mcast_tbl_clear_mlid(p_mcast_tbl, mlid);
887 IN ib_net16_t const mlid,
903 CL_ASSERT(mlid);
1008 mcast_mgr_process_mlid(osm_sm_t * sm, uint16_t mlid) argument
[all...]
H A Dosm_sm.c444 void osm_sm_reroute_mlid(osm_sm_t * sm, ib_net16_t mlid) argument
446 mlid = cl_ntoh16(mlid) - IB_LID_MCAST_START_HO;
447 sm->mlids_req[mlid] = 1;
448 if (sm->mlids_req_max < mlid)
449 sm->mlids_req_max = mlid;
452 mlid + IB_LID_MCAST_START_HO);
H A Dosm_sa_mcmember_record.c103 dest->mlid = src->mlid;
115 Return mlid to the pool of free mlids.
119 static void free_mlid(IN osm_sa_t * sa, IN uint16_t mlid) argument
122 UNUSED_PARAM(mlid);
126 Get a new unused mlid by scanning all the used ones in the subnet.
147 return m->mlid;
160 ib_net16_t requested_mlid = mcmr->mlid;
826 ib_net16_t mlid; local
904 mlid
[all...]
H A Dosm_sa.c632 " qkey=0x%08x mlid=0x%04x mtu=0x%02x tclass=0x%02x"
635 cl_ntoh16(p_mgrp->mlid),
642 cl_ntoh16(p_mgrp->mcmember_rec.mlid),
837 static osm_mgrp_t *load_mcgroup(osm_opensm_t * p_osm, ib_net16_t mlid, argument
847 if (p_mgrp->mlid == mlid) {
849 "mgrp %04x is already here.", cl_ntoh16(mlid));
853 "mlid %04x is already used by another MC group. Will "
854 "request clients reregistration.\n", cl_ntoh16(mlid));
864 p_mgrp->mlid !
1161 ib_net16_t mlid; local
[all...]
H A Dosm_ucast_dfsssp.c1706 from the previous dijsktra step for the current mlid
2655 mbox->mlid, num_ports);
2666 mbox->mlid);
2688 mbox->mlid);
2699 err = update_mcft(sm, adj_list, adj_list_size, mbox->mlid,
2704 mbox->mlid);
H A Dosm_sa_path_record.c1543 if ((comp_mask & IB_PR_COMPMASK_DLID) && p_mgrp->mlid != p_pr->dlid) {
1546 cl_ntoh16(p_pr->dlid), cl_ntoh16(p_mgrp->mlid));
1679 pr_item->resp.path_rec.dlid = mgrp->mcmember_rec.mlid;
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibtracert.c487 static int switch_mclookup(Node * node, ib_portid_t * portid, int mlid, argument
503 mlid -= 0xc000;
507 if (mlid >= sw.mccap)
510 block = mlid / 32;
520 uint16_t mask = ntohs(msets[mlid % 32]);
526 ": mlid 0x%x is forwarded to port %d",
527 node->nodeguid, mlid + 0xc000, i + set * 16);
537 static Node *find_mcpath(ib_portid_t * from, int mlid) argument
566 if (switch_mclookup(node, from, mlid, map) < 0 || !map[0])
599 if (switch_mclookup(node, path, mlid, ma
755 static int dumplevel = 2, multicast, mlid; variable
[all...]
H A Dibroute.c93 int dump_mlid(char *str, int strlen, unsigned mlid, unsigned nports, argument
103 mask = ntohs(mft[i][mlid % IB_MLIDS_IN_BLOCK]);
122 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
162 IBWARN("illegal top mlid %x", top);
170 IBWARN("illegal start mlid %x, set to %x", startlid,
176 IBWARN("illegal end mlid %x, truncate to %x", endlid,
204 printf("Switch multicast mlid capability is %d top is 0x%x\n",
H A Ddump_fts.c68 int dump_mlid(char *str, int strlen, unsigned mlid, unsigned nports, argument
78 mask = ntohs(mft[i][mlid % IB_MLIDS_IN_BLOCK]);
97 mask = ntohs(mft[chunk][mlid % IB_MLIDS_IN_BLOCK]);
138 IBWARN("illegal top mlid %x", top);
146 IBWARN("illegal start mlid %x, set to %x", startlid,
152 IBWARN("illegal end mlid %x, truncate to %x", endlid,
180 printf("Switch multicast mlid capability is %d top is 0x%x\n",
H A Dsaquery.c73 uint16_t slid, dlid, mlid; member in struct:query_params
338 cl_ntoh32(mr->qkey), cl_ntoh16(mr->mlid), mr->mtu, mr->tclass,
357 cl_ntoh16(p_mcmr->mlid),
367 uint16_t mlid = cl_ntoh16(p_mcmr->mlid); local
389 if (strtol(requested_name, NULL, 0) == mlid)
403 cl_ntoh16(p_mcmr->mlid),
1226 CHECK_AND_SET_VAL(p->mlid, 16, 0, mr.mlid, MCR, MLID);
1504 "[[mlid]/[positio
[all...]
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dsa.h70 uint16_t mlid; member in struct:ibv_sa_mcmember_rec
H A Dkern-abi.h1061 __u16 mlid; member in struct:ibv_attach_mcast
1090 __u16 mlid; member in struct:ibv_detach_mcast
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c39 int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid, union ib_gid *mgid, int set_qkey) argument
68 ret = ib_attach_mcast(priv->qp, mgid, mlid);
H A Dipoib_multicast.c185 ret = ipoib_mcast_attach(priv, be16_to_cpu(mcast->mcmember.mlid),
198 .dlid = be16_to_cpu(mcast->mcmember.mlid),
223 be16_to_cpu(mcast->mcmember.mlid),
615 be16_to_cpu(mcast->mcmember.mlid));
H A Dipoib.h520 int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid,
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_sa.h213 __be16 mlid; member in struct:ib_sa_mcmember_rec
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_multicast.c300 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid)
749 ah_attr->dlid = be16_to_cpu(rec->mlid);
H A Dib_uverbs_cmd.c3065 if (cmd.mlid == mcast->lid &&
3077 mcast->lid = cmd.mlid;
3080 ret = ib_attach_mcast(qp, &mcast->gid, cmd.mlid);
3116 if (cmd.mlid == mcast->lid &&
3129 ret = ib_detach_mcast(qp, (union ib_gid *)cmd.gid, cmd.mlid);
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mcg.c89 __be16 mlid; member in struct:ib_sa_mcmember_data
393 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid)
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h815 __u16 mlid; member in struct:ib_uverbs_attach_mcast
823 __u16 mlid; member in struct:ib_uverbs_detach_mcast
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Dcma.c116 uint16_t mlid; member in struct:cma_multicast
1825 ibv_detach_mcast(id->qp, &mc->mgid, mc->mlid);
2007 evt->mc->mlid = evt->event.param.ud.ah_attr.dlid;
2013 &evt->mc->mgid, evt->mc->mlid));

Completed in 664 milliseconds

12