Lines Matching defs:mgid
61 union ib_gid mgid;
76 mcast->mcmember.mgid.raw);
129 static struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid)
140 ret = memcmp(mgid, mcast->mcmember.mgid.raw,
165 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw,
193 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4,
209 mcast->mcmember.mgid.raw);
215 &mcast->mcmember.mgid, set_qkey);
218 mcast->mcmember.mgid.raw);
239 av.grh.dgid = mcast->mcmember.mgid;
250 mcast->mcmember.mgid.raw,
296 mcast->mcmember.mgid.raw, status);
332 rec.mgid = mcast->mcmember.mgid;
352 mcast->mcmember.mgid.raw);
388 mcast->mcmember.mgid.raw, status);
418 mcast->mcmember.mgid.raw, status);
421 mcast->mcmember.mgid.raw, status);
453 ipoib_dbg_mcast(priv, "joining MGID %pI6\n", mcast->mcmember.mgid.raw);
455 rec.mgid = mcast->mcmember.mgid;
551 memcpy(broadcast->mcmember.mgid.raw, priv->dev->broadcast + 4,
642 mcast->mcmember.mgid.raw);
645 ret = ib_detach_mcast(priv->qp, &mcast->mcmember.mgid,
654 void ipoib_mcast_send(struct net_device *dev, void *mgid, struct sk_buff *skb)
670 mcast = __ipoib_mcast_find(dev, mgid);
674 mgid);
686 memcpy(mcast->mcmember.mgid.raw, mgid, sizeof (union ib_gid));
809 union ib_gid mgid;
814 memcpy(mgid.raw, ha->addr + 4, sizeof mgid);
816 mcast = __ipoib_mcast_find(dev, &mgid);
822 !ib_sa_get_mcmember_rec(priv->ca, priv->port, &mgid, &rec)) {
823 ipoib_dbg_mcast(priv, "ignoring multicast entry for mgid %pI6\n",
824 mgid.raw);
829 ipoib_dbg_mcast(priv, "adding multicast entry for mgid %pI6\n",
830 mgid.raw);
840 nmcast->mcmember.mgid = mgid;
864 mcast->mcmember.mgid.raw);
898 memset(iter->mgid.raw, 0, 16);
922 if (memcmp(iter->mgid.raw, mcast->mcmember.mgid.raw,
924 iter->mgid = mcast->mcmember.mgid;
944 union ib_gid *mgid,
950 *mgid = iter->mgid;