Lines Matching refs:mgid
60 union ib_gid mgid; member
118 mcast->mcmember.mgid.raw); in ipoib_mcast_free()
121 ipoib_del_neighs_by_gid(dev, mcast->mcmember.mgid.raw); in ipoib_mcast_free()
158 static struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid) in __ipoib_mcast_find() argument
169 ret = memcmp(mgid, mcast->mcmember.mgid.raw, in __ipoib_mcast_find()
194 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, in __ipoib_mcast_add()
227 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_finish()
259 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish()
264 ret = rn->attach_mcast(dev, priv->ca, &mcast->mcmember.mgid, in ipoib_mcast_join_finish()
269 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish()
283 rdma_ah_set_grh(&av, &mcast->mcmember.mgid, in ipoib_mcast_join_finish()
300 mcast->mcmember.mgid.raw, in ipoib_mcast_join_finish()
376 mcast->mcmember.mgid.raw, status); in ipoib_mcast_join_complete()
414 mcast->mcmember.mgid.raw, status); in ipoib_mcast_join_complete()
418 mcast->mcmember.mgid.raw, status); in ipoib_mcast_join_complete()
488 ipoib_dbg_mcast(priv, "joining MGID %pI6\n", mcast->mcmember.mgid.raw); in ipoib_mcast_join()
490 rec.mgid = mcast->mcmember.mgid; in ipoib_mcast_join()
614 memcpy(broadcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_task()
706 mcast->mcmember.mgid.raw); in ipoib_mcast_leave()
709 ret = rn->detach_mcast(dev, priv->ca, &mcast->mcmember.mgid, in ipoib_mcast_leave()
724 void ipoib_check_and_add_mcast_sendonly(struct ipoib_dev_priv *priv, u8 *mgid, in ipoib_check_and_add_mcast_sendonly() argument
728 if (*mgid == 0xff) { in ipoib_check_and_add_mcast_sendonly()
729 struct ipoib_mcast *mcast = __ipoib_mcast_find(priv->dev, mgid); in ipoib_check_and_add_mcast_sendonly()
763 void *mgid = daddr + 4; in ipoib_mcast_send() local
775 mcast = __ipoib_mcast_find(dev, mgid); in ipoib_mcast_send()
780 mgid); in ipoib_mcast_send()
792 memcpy(mcast->mcmember.mgid.raw, mgid, in ipoib_mcast_send()
913 union ib_gid mgid; in ipoib_mcast_restart_task() local
918 memcpy(mgid.raw, ha->addr + 4, sizeof(mgid)); in ipoib_mcast_restart_task()
920 mcast = __ipoib_mcast_find(dev, &mgid); in ipoib_mcast_restart_task()
926 !ib_sa_get_mcmember_rec(priv->ca, priv->port, &mgid, &rec)) { in ipoib_mcast_restart_task()
928 mgid.raw); in ipoib_mcast_restart_task()
934 mgid.raw); in ipoib_mcast_restart_task()
944 nmcast->mcmember.mgid = mgid; in ipoib_mcast_restart_task()
968 mcast->mcmember.mgid.raw); in ipoib_mcast_restart_task()
1003 memset(iter->mgid.raw, 0, 16); in ipoib_mcast_iter_init()
1027 if (memcmp(iter->mgid.raw, mcast->mcmember.mgid.raw, in ipoib_mcast_iter_next()
1029 iter->mgid = mcast->mcmember.mgid; in ipoib_mcast_iter_next()
1049 union ib_gid *mgid, in ipoib_mcast_iter_read() argument
1055 *mgid = iter->mgid; in ipoib_mcast_iter_read()