Searched refs:mgid (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mcg.c34 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) argument
43 memcpy(MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid), mgid, local
44 sizeof(*mgid));
52 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) argument
61 memcpy(MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid), mgid, local
62 sizeof(*mgid));
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c52 union ib_gid mgid; member in struct:ipoib_mcast_iter
65 mcast->mcmember.mgid.raw, ":");
98 void *mgid)
108 ret = memcmp(mgid, mcast->mcmember.mgid.raw,
133 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw,
161 if (!memcmp(mcast->mcmember.mgid.raw, dev->if_broadcastaddr + 4,
177 mcast->mcmember.mgid.raw, ":");
183 &mcast->mcmember.mgid, set_qke
97 __ipoib_mcast_find(struct ipoib_dev_priv *priv, void *mgid) argument
612 ipoib_mcast_send(struct ipoib_dev_priv *priv, void *mgid, struct mbuf *mb) argument
754 union ib_gid mgid; local
893 ipoib_mcast_iter_read(struct ipoib_mcast_iter *iter, union ib_gid *mgid, unsigned long *created, unsigned int *queuelen, unsigned int *complete, unsigned int *send_only) argument
[all...]
H A Dipoib_fs.c99 union ib_gid mgid; local
106 ipoib_mcast_iter_read(iter, &mgid, &created, &queuelen,
109 format_gid(&mgid, gid_buf);
H A Dipoib_verbs.c36 int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid, union ib_gid *mgid, int set_qkey) argument
65 ret = ib_attach_mcast(priv->qp, mgid, mlid);
H A Dipoib.h487 void ipoib_mcast_send(struct ipoib_dev_priv *priv, void *mgid, struct mbuf *mb);
517 union ib_gid *mgid, int set_qkey);
/freebsd-10-stable/contrib/ofed/management/opensm/osmtest/
H A Dosmt_multicast.c235 &(p_rec->mgid));
236 /* If returns iterator other than end of list, same mgid exists already */
241 inet_ntop(AF_INET6, p_rec->mgid.raw, gid_str,
248 cl_status = cl_list_insert_head(p_mgids_list, &(p_rec->mgid));
581 /* search for ipoib mgid */
582 if (IS_IPOIB_MGID(&p_mgrp->mcmember_rec.mgid)) {
586 "Non-IPoIB MC Groups exist: mgid=%s\n",
588 p_mgrp->mcmember_rec.mgid.raw,
604 memcpy(&mc_req_rec.mgid, &osm_ipoib_good_mgid,
620 "Sent Join request with :\n\t\tport_gid=%s, mgid
[all...]
H A Dosmtest.c5312 ib_gid_t portgid, mgid; local
5343 mgid.unicast.prefix = CL_HTON64(0xff12401bffff0000ULL);
5344 mgid.unicast.interface_id = CL_HTON64(0x00000000ffffffffULL);
5346 osmtest_get_path_rec_by_gid_pair(p_osmt, portgid, mgid, &context);
5351 ib_gid_set_default(&mgid, portguid);
5352 mgid.raw[7] = 0xff; /* not default GID prefix */
5354 osmtest_get_path_rec_by_gid_pair(p_osmt, portgid, mgid, &context);
5359 ib_gid_set_default(&mgid, portguid);
5360 mgid.raw[1] = 0xc0; /* site local */
5362 osmtest_get_path_rec_by_gid_pair(p_osmt, portgid, mgid,
[all...]
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/
H A Dosm_sa_mcmember_record.c611 if (p_mcm_rec->mgid.multicast.header[0] != 0xFF) {
614 cl_ntoh16(p_mcm_rec->mgid.multicast.header[0]));
620 memcpy(&signature, &(p_mcm_rec->mgid.multicast.raw_group_id),
653 if (p_mcm_rec->mgid.multicast.header[1] & 0xE0) {
656 (p_mcm_rec->mgid.multicast.header[1] & 0xE0) >> 4);
664 (p_mcm_rec->mgid.multicast.header[1] & 0x0F) ==
835 for (i = 0; i < sizeof(p_recvd_mcmember_rec->mgid); i++)
836 if (p_recvd_mcmember_rec->mgid.raw[i] != 0) {
869 p_mgid = &(mcm_rec.mgid);
950 static unsigned match_mgrp_by_mgid(IN osm_mgrp_t * const p_mgrp, ib_gid_t *mgid) argument
971 match_and_update_ipv6_snm_mgid(ib_gid_t *mgid) argument
[all...]
H A Dosm_prtn.c205 mc_rec.mgid = osm_ipoib_mgid; /* ipv4 broadcast group */
206 memcpy(&mc_rec.mgid.raw[4], &pkey, sizeof(pkey));
217 ib_mgid_set_scope(&mc_rec.mgid, scope);
235 mc_rec.mgid = osm_ts_ipoib_mgid;
236 memcpy(&mc_rec.mgid.raw[4], &pkey, sizeof(pkey));
239 ib_mgid_set_scope(&mc_rec.mgid, scope);
H A Dosm_sa.c571 " mgid=0x%016" PRIx64 ":0x%016" PRIx64
578 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.prefix),
579 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.interface_id),
746 if (!memcmp(&p_mgrp->mcmember_rec.mgid, &p_mcm_rec->mgid,
766 "cannot create MC group with mlid 0x%04x and mgid "
768 cl_ntoh64(p_mcm_rec->mgid.unicast.prefix),
769 cl_ntoh64(p_mcm_rec->mgid.unicast.interface_id));
968 PARSE_AHEAD(p, net64, " mgid=0x",
969 &mcm_rec.mgid
[all...]
H A Dosm_multicast.c112 &mgrp->mcmember_rec.mgid, sizeof(ib_gid_t));
H A Dosm_sa_path_record.c1776 p_pr_item->path_rec.dgid = p_mgrp->mcmember_rec.mgid;
1796 if (ib_mgid_get_scope(&p_mgrp->mcmember_rec.mgid) != IB_MC_SCOPE_LINK_LOCAL)
H A Dosm_helper.c1216 inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str,
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dmcg.c80 union ib_gid mgid; member in struct:ib_sa_mcmember_data
157 union ib_gid *mgid)
165 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid);
189 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw,
190 sizeof group->rec.mgid);
447 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0);
548 if (memcmp(&group->rec.mgid,
156 mcast_find(struct mlx4_ib_demux_ctx *ctx, union ib_gid *mgid) argument
805 acquire_group(struct mlx4_ib_demux_ctx *ctx, union ib_gid *mgid, int create, gfp_t gfp_mask) argument
[all...]
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dmulticast.c131 union ib_gid *mgid)
139 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid);
164 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw,
165 sizeof group->rec.mgid);
508 if (!memcmp(&mgid0, &group->rec.mgid, sizeof mgid0)) {
530 union ib_gid *mgid, gfp_t gfp_mask)
536 is_mgid0 = !memcmp(&mgid0, mgid, sizeo
130 mcast_find(struct mcast_port *port, union ib_gid *mgid) argument
529 acquire_group(struct mcast_port *port, union ib_gid *mgid, gfp_t gfp_mask) argument
665 ib_sa_get_mcmember_rec(struct ib_device *device, u8 port_num, union ib_gid *mgid, struct ib_sa_mcmember_rec *rec) argument
[all...]
H A Dcma.c353 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid);
355 id_priv->id.port_num, &rec.mgid,
3046 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid,
3076 struct sockaddr *addr, union ib_gid *mgid)
3090 memset(mgid, 0, sizeof *mgid);
3096 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid);
3101 *mgid = *(union ib_gid *) (mc_map + 4);
3108 *mgid
3075 cma_set_mgid(struct rdma_id_private *id_priv, struct sockaddr *addr, union ib_gid *mgid) argument
3167 cma_iboe_set_mgid(struct sockaddr *addr, union ib_gid *mgid) argument
[all...]
/freebsd-10-stable/contrib/ofed/libibverbs/include/infiniband/
H A Dsa.h66 union ibv_gid mgid; member in struct:ibv_sa_mcmember_rec
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c69 u8 *mgid; local
76 mgid = mailbox->buf;
78 memcpy(mgid, gid, 16);
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_sa.h179 union ib_gid mgid; member in struct:ib_sa_mcmember_rec
503 * @mgid: MGID of multicast group.
507 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec);
H A Dib_user_verbs.h704 __u8 mgid[16]; member in struct:ibv_kern_flow_spec::__anon11288::__anon11291
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/
H A Dmcm_rereg_test.c77 uint64_t build_mcm_rec(uint8_t *data, ibmad_gid_t mgid, ibmad_gid_t port_gid) argument
80 mad_set_array(data, 0, IB_SA_MCM_MGID_F, mgid);
H A Dsaquery.c350 inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str, sizeof gid_str),
394 inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str,
/freebsd-10-stable/contrib/ofed/librdmacm/src/
H A Dcma.c147 union ibv_gid mgid; member in struct:cma_multicast
1116 ibv_detach_mcast(id->qp, &mc->mgid, mc->mlid);
1247 evt->mc->mgid = evt->event.param.ud.ah_attr.grh.dgid;
1253 return ibv_attach_mcast(evt->id_priv->id.qp, &evt->mc->mgid,
/freebsd-10-stable/sys/dev/mlx5/
H A Ddriver.h893 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
894 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
H A Dmcg.c676 u8 *mgid; local
685 mgid = mailbox->buf;
687 memcpy(mgid, gid, 16);

Completed in 285 milliseconds

12