Home
last modified time | relevance | path

Searched refs:mgid (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c62 union ib_gid mgid; member
77 mcast->mcmember.mgid.raw); in ipoib_mcast_free()
130 static struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid) in __ipoib_mcast_find() argument
141 ret = memcmp(mgid, mcast->mcmember.mgid.raw, in __ipoib_mcast_find()
166 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, in __ipoib_mcast_add()
196 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_finish()
219 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish()
225 &mcast->mcmember.mgid, set_qkey); in ipoib_mcast_join_finish()
228 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish()
249 av.grh.dgid = mcast->mcmember.mgid; in ipoib_mcast_join_finish()
[all …]
Dipoib_fs.c101 union ib_gid mgid; in ipoib_mcg_seq_show() local
108 ipoib_mcast_iter_read(iter, &mgid, &created, &queuelen, in ipoib_mcg_seq_show()
111 format_gid(&mgid, gid_buf); in ipoib_mcg_seq_show()
Dipoib_verbs.c38 int ipoib_mcast_attach(struct net_device *dev, u16 mlid, union ib_gid *mgid, int set_qkey) in ipoib_mcast_attach() argument
68 ret = ib_attach_mcast(priv->qp, mgid, mlid); in ipoib_mcast_attach()
Dipoib.h458 void ipoib_mcast_send(struct net_device *dev, void *mgid, struct sk_buff *skb);
484 union ib_gid *mgid, int set_qkey);
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_verbs_mcast.c85 static struct ipath_mcast *ipath_mcast_alloc(union ib_gid *mgid) in ipath_mcast_alloc() argument
93 mcast->mgid = *mgid; in ipath_mcast_alloc()
121 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid) in ipath_mcast_find() argument
134 ret = memcmp(mgid->raw, mcast->mgid.raw, in ipath_mcast_find()
180 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in ipath_mcast_add()
307 ret = memcmp(gid->raw, mcast->mgid.raw, in ipath_multicast_detach()
Dipath_verbs.h163 union ib_gid mgid; member
717 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid);
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_verbs_mcast.c74 static struct qib_mcast *qib_mcast_alloc(union ib_gid *mgid) in qib_mcast_alloc() argument
82 mcast->mgid = *mgid; in qib_mcast_alloc()
111 struct qib_mcast *qib_mcast_find(struct qib_ibport *ibp, union ib_gid *mgid) in qib_mcast_find() argument
124 ret = memcmp(mgid->raw, mcast->mgid.raw, in qib_mcast_find()
169 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in qib_mcast_add()
311 ret = memcmp(gid->raw, mcast->mgid.raw, in qib_multicast_detach()
Dqib_verbs.h215 union ib_gid mgid; member
854 struct qib_mcast *qib_mcast_find(struct qib_ibport *ibp, union ib_gid *mgid);
/linux-3.4.99/drivers/infiniband/core/
Dmulticast.c131 union ib_gid *mgid) in mcast_find() argument
139 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find()
164 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert()
165 sizeof group->rec.mgid); in mcast_insert()
536 if (!memcmp(&mgid0, &group->rec.mgid, sizeof mgid0)) { in join_handler()
558 union ib_gid *mgid, gfp_t gfp_mask) in acquire_group() argument
564 is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0); in acquire_group()
567 group = mcast_find(port, mgid); in acquire_group()
579 group->rec.mgid = *mgid; in acquire_group()
639 &rec->mgid, gfp_mask); in ib_sa_join_multicast()
[all …]
Dcma.c319 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid); in cma_set_qkey()
321 id_priv->id.port_num, &rec.mgid, in cma_set_qkey()
2928 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid, in cma_ib_mc_handler()
2958 struct sockaddr *addr, union ib_gid *mgid) in cma_set_mgid() argument
2966 memset(mgid, 0, sizeof *mgid); in cma_set_mgid()
2971 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid); in cma_set_mgid()
2976 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid()
2981 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid()
2993 ib_addr_get_mgid(dev_addr, &rec.mgid); in cma_join_ib_multicast()
2995 &rec.mgid, &rec); in cma_join_ib_multicast()
[all …]
Dsa_query.c224 { MCMEMBER_REC_FIELD(mgid),
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_mcg.c69 u8 *mgid; in find_mgm() local
75 mgid = mailbox->buf; in find_mgm()
77 memcpy(mgid, gid, 16); in find_mgm()
/linux-3.4.99/include/rdma/
Dib_sa.h179 union ib_gid mgid; member
364 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec);
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c570 u8 *mgid; in find_entry() local
579 mgid = mailbox->buf; in find_entry()
581 memcpy(mgid, gid, 16); in find_entry()