/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_mcg.c | 34 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) argument 41 memcpy(MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid), mgid, local 42 sizeof(*mgid)); 48 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) argument 55 memcpy(MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid), mgid, local 56 sizeof(*mgid));
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 55 union ib_gid mgid; member in struct:ipoib_mcast_iter 68 mcast->mcmember.mgid.raw, ":"); 101 void *mgid) 111 ret = memcmp(mgid, mcast->mcmember.mgid.raw, 136 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, 164 if (!memcmp(mcast->mcmember.mgid.raw, dev->if_broadcastaddr + 4, 180 mcast->mcmember.mgid.raw, ":"); 186 &mcast->mcmember.mgid, set_qke 100 __ipoib_mcast_find(struct ipoib_dev_priv *priv, void *mgid) argument 624 ipoib_mcast_send(struct ipoib_dev_priv *priv, void *mgid, struct mbuf *mb) argument 766 union ib_gid mgid; local 905 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 D | ipoib_fs.c | 102 union ib_gid mgid; local 109 ipoib_mcast_iter_read(iter, &mgid, &created, &queuelen, 112 format_gid(&mgid, gid_buf);
|
H A D | ipoib_verbs.c | 39 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 D | ipoib.h | 491 void ipoib_mcast_send(struct ipoib_dev_priv *priv, void *mgid, struct mbuf *mb); 521 union ib_gid *mgid, int set_qkey);
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_mcmember_record.c | 142 static ib_net16_t find_ipv6_snm_mlid(osm_subn_t *subn, ib_gid_t *mgid) argument 144 osm_mgrp_t *m = (osm_mgrp_t *)cl_fmap_match(&subn->mgrp_mgid_tbl, mgid, 151 static unsigned match_ipv6_snm_mgid(ib_gid_t * mgid) argument 153 return ((mgid->unicast.prefix & PREFIX_MASK) == PREFIX_SIGNATURE && 154 (mgid->unicast.interface_id & INT_ID_MASK) == INT_ID_SIGNATURE); 169 && match_ipv6_snm_mgid(&mcmr->mgid) 170 && (requested_mlid = find_ipv6_snm_mlid(sa->p_subn, &mcmr->mgid))) { 174 inet_ntop(AF_INET6, mcmr->mgid.raw, str, sizeof(str))); 576 if (p_mcm_rec->mgid.multicast.header[0] != 0xFF) { 580 cl_ntoh16(p_mcm_rec->mgid 789 ib_gid_t *mgid = &mcmr->mgid; local [all...] |
H A D | osm_prtn_config.c | 85 ib_gid_t mgid; member in struct:precreate_mgroup 113 const ib_gid_t *mgid); 116 static inline boolean_t mgid_is_broadcast(const ib_gid_t *mgid) argument 118 return (memcmp(mgid, &osm_ipoib_broadcast_mgid, 122 static inline boolean_t mgid_is_ip(const ib_gid_t *mgid) argument 124 ib_net16_t ipsig = *(ib_net16_t *)&mgid->raw[2]; 131 ib_net16_t mpkey = *(ib_net16_t *)&group->mgid.raw[4]; 134 if (mgid_is_broadcast(&group->mgid) 144 inet_ntop(AF_INET6, group->mgid.raw, gid_str, sizeof gid_str), 161 inet_ntop(AF_INET6, group->mgid 586 mgroup_create(char *p, char *mgid, unsigned lineno, struct part_conf *conf) argument [all...] |
H A D | osm_prtn.c | 112 p->mgrps[i]->mcmember_rec.mgid.raw, 211 osm_subn_t *p_subn, const ib_gid_t *mgid, 233 inet_ntop(AF_INET6, mgid->raw, 248 const ib_gid_t *mgid) 265 mc_rec.mgid = *mgid; 277 ib_mgid_set_scope(&mc_rec.mgid, scope); 286 inet_ntop(AF_INET6, mgid->raw, gid_str, sizeof gid_str), 291 return (track_mgrp_w_partition(p_log, p, mgrp, p_subn, mgid, pkey)); 210 track_mgrp_w_partition(osm_log_t *p_log, osm_prtn_t *p, osm_mgrp_t *mgrp, osm_subn_t *p_subn, const ib_gid_t *mgid, ib_net16_t pkey) argument 244 osm_prtn_add_mcgroup(osm_log_t * p_log, osm_subn_t * p_subn, osm_prtn_t * p, uint8_t rate, uint8_t mtu, uint8_t sl, uint8_t scope, uint32_t Q_Key, uint8_t tclass, uint32_t FlowLabel, const ib_gid_t *mgid) argument
|
H A D | osm_multicast.c | 144 cl_fmap_insert(&subn->mgrp_mgid_tbl, &p_mgrp->mcmember_rec.mgid, 204 &mgrp->mcmember_rec.mgid, sizeof(ib_gid_t)); 289 inet_ntop(AF_INET6, mgrp->mcmember_rec.mgid.raw, 369 inet_ntop(AF_INET6, mgrp->mcmember_rec.mgid.raw,
|
H A D | osm_sa.c | 630 " mgid=0x%016" PRIx64 ":0x%016" PRIx64 637 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.prefix), 638 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.interface_id), 845 p_mgrp = osm_get_mgrp_by_mgid(&p_osm->subn, &p_mcm_rec->mgid); 866 "cannot create MC group with mlid 0x%04x and mgid " 868 cl_ntoh64(p_mcm_rec->mgid.unicast.prefix), 869 cl_ntoh64(p_mcm_rec->mgid.unicast.interface_id)); 1102 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.prefix), 1103 cl_ntoh64(p_mgrp->mcmember_rec.mgid.unicast.interface_id)); 1167 PARSE_AHEAD(p, net64, " mgid [all...] |
H A D | osm_sa_path_record.c | 1678 pr_item->resp.path_rec.dgid = mgrp->mcmember_rec.mgid; 1697 if (ib_mgid_get_scope(&mgrp->mcmember_rec.mgid) !=
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_multicast.c | 137 union ib_gid *mgid) 145 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); 170 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, 171 sizeof group->rec.mgid); 536 mgids_changed = memcmp(&rec->mgid, &group->rec.mgid, 537 sizeof(group->rec.mgid)); 136 mcast_find(struct mcast_port *port, union ib_gid *mgid) argument 562 acquire_group(struct mcast_port *port, union ib_gid *mgid, gfp_t gfp_mask) argument 698 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 D | ib_cma.c | 431 static int cma_igmp_send(struct net_device *ndev, const union ib_gid *mgid, bool join) argument 441 rdma_gid2ip(&addr.sock, mgid); 536 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid); 538 id_priv->id.port_num, &rec.mgid, 1698 &mc->multicast.ib->rec.mgid, 3812 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid, 3858 struct sockaddr *addr, union ib_gid *mgid) 3866 memset(mgid, 0, sizeof *mgid); 3871 memcpy(mgid, 3857 cma_set_mgid(struct rdma_id_private *id_priv, struct sockaddr *addr, union ib_gid *mgid) argument 4013 cma_iboe_set_mgid(struct sockaddr *addr, union ib_gid *mgid, enum ib_gid_type gid_type) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mcg.c | 86 union ib_gid mgid; member in struct:ib_sa_mcmember_data 163 union ib_gid *mgid) 171 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); 195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, 196 sizeof group->rec.mgid); 455 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0); 556 if (memcmp(&group->rec.mgid, 162 mcast_find(struct mlx4_ib_demux_ctx *ctx, union ib_gid *mgid) argument 811 acquire_group(struct mlx4_ib_demux_ctx *ctx, union ib_gid *mgid, int create, gfp_t gfp_mask) argument [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | sa.h | 67 union ibv_gid mgid; member in struct:ibv_sa_mcmember_rec
|
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_mcg.c | 69 u8 *mgid; local 75 mgid = mailbox->buf; 77 memcpy(mgid, gid, 16);
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_sa.h | 210 union ib_gid mgid; member in struct:ib_sa_mcmember_rec 413 * @mgid: MGID of multicast group. 417 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec);
|
H A D | rdmavt_qp.h | 439 union ib_gid mgid; member in struct:rvt_mcast
|
H A D | rdma_vt.h | 501 struct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid);
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | saquery.c | 72 ib_gid_t sgid, dgid, gid, mgid; member in struct:query_params 314 char mgid[INET6_ADDRSTRLEN], gid[INET6_ADDRSTRLEN]; local 336 inet_ntop(AF_INET6, mr->mgid.raw, mgid, sizeof(mgid)), 356 inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str, sizeof gid_str), 401 inet_ntop(AF_INET6, p_mcmr->mgid.raw, gid_str, 1224 CHECK_AND_SET_GID(p->mgid, mr.mgid, MCR, MGID); 1665 if (inet_pton(AF_INET6, optarg, &p->mgid) < [all...] |
H A D | mcm_rereg_test.c | 66 uint64_t build_mcm_rec(uint8_t * data, ibmad_gid_t mgid, ibmad_gid_t port_gid) argument 69 mad_set_array(data, 0, IB_SA_MCM_MGID_F, mgid);
|
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_subnet.h | 1456 * This looks for the given multicast group in the subnet table by mgid. 1462 struct osm_mgrp *osm_get_mgrp_by_mgid(IN osm_subn_t * subn, IN ib_gid_t * mgid); 1468 * mgid
|
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | driver.h | 1035 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn); 1036 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 701 u8 *mgid; local 710 mgid = mailbox->buf; 712 memcpy(mgid, gid, 16);
|
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | cma.c | 115 union ibv_gid mgid; member in struct:cma_multicast 1825 ibv_detach_mcast(id->qp, &mc->mgid, mc->mlid); 2006 evt->mc->mgid = evt->event.param.ud.ah_attr.grh.dgid; 2013 &evt->mc->mgid, evt->mc->mlid));
|