/drivers/infiniband/ulp/ipoib/ |
D | ipoib_multicast.c | 60 union ib_gid mgid; member 115 mcast->mcmember.mgid.raw); in ipoib_mcast_free() 118 ipoib_del_neighs_by_gid(dev, mcast->mcmember.mgid.raw); in ipoib_mcast_free() 156 struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid) in __ipoib_mcast_find() argument 167 ret = memcmp(mgid, mcast->mcmember.mgid.raw, in __ipoib_mcast_find() 192 ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw, in __ipoib_mcast_add() 222 if (!memcmp(mcast->mcmember.mgid.raw, priv->dev->broadcast + 4, in ipoib_mcast_join_finish() 255 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish() 261 &mcast->mcmember.mgid, set_qkey); in ipoib_mcast_join_finish() 264 mcast->mcmember.mgid.raw); in ipoib_mcast_join_finish() [all …]
|
D | ipoib_fs.c | 101 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()
|
D | ipoib_verbs.c | 38 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()
|
D | ipoib.h | 560 union ib_gid *mgid, int set_qkey); 562 struct ipoib_mcast *__ipoib_mcast_find(struct net_device *dev, void *mgid);
|
D | ipoib_main.c | 1252 u8 *mgid = neigh->daddr + 4; in __ipoib_reap_neigh() local 1255 if (*mgid == 0xff) { in __ipoib_reap_neigh() 1256 mcast = __ipoib_mcast_find(dev, mgid); in __ipoib_reap_neigh()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mcg.c | 64 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_attach_mcg() argument 73 memcpy(in.gid, mgid, sizeof(*mgid)); in mlx5_core_attach_mcg() 86 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_detach_mcg() argument 95 memcpy(in.gid, mgid, sizeof(*mgid)); in mlx5_core_detach_mcg()
|
/drivers/staging/rdma/ipath/ |
D | ipath_verbs_mcast.c | 84 static struct ipath_mcast *ipath_mcast_alloc(union ib_gid *mgid) in ipath_mcast_alloc() argument 92 mcast->mgid = *mgid; in ipath_mcast_alloc() 120 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid) in ipath_mcast_find() argument 133 ret = memcmp(mgid->raw, mcast->mgid.raw, in ipath_mcast_find() 179 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in ipath_mcast_add() 306 ret = memcmp(gid->raw, mcast->mgid.raw, in ipath_multicast_detach()
|
D | ipath_verbs.h | 163 union ib_gid mgid; member 725 struct ipath_mcast *ipath_mcast_find(union ib_gid *mgid);
|
/drivers/staging/rdma/hfi1/ |
D | verbs_mcast.c | 91 static struct hfi1_mcast *mcast_alloc(union ib_gid *mgid) in mcast_alloc() argument 99 mcast->mgid = *mgid; in mcast_alloc() 128 struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid) in hfi1_mcast_find() argument 141 ret = memcmp(mgid->raw, mcast->mgid.raw, in hfi1_mcast_find() 186 ret = memcmp(mcast->mgid.raw, tmcast->mgid.raw, in mcast_add() 328 ret = memcmp(gid->raw, mcast->mgid.raw, in hfi1_multicast_detach()
|
D | verbs.h | 229 union ib_gid mgid; member 919 struct hfi1_mcast *hfi1_mcast_find(struct hfi1_ibport *ibp, union ib_gid *mgid);
|
/drivers/infiniband/hw/qib/ |
D | qib_verbs_mcast.c | 74 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() 308 ret = memcmp(gid->raw, mcast->mgid.raw, in qib_multicast_detach()
|
D | qib_verbs.h | 217 union ib_gid mgid; member 901 struct qib_mcast *qib_mcast_find(struct qib_ibport *ibp, union ib_gid *mgid);
|
/drivers/infiniband/core/ |
D | multicast.c | 130 union ib_gid *mgid) in mcast_find() argument 138 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find() 163 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert() 164 sizeof group->rec.mgid); in mcast_insert() 530 mgids_changed = memcmp(&rec->mgid, &group->rec.mgid, in join_handler() 531 sizeof(group->rec.mgid)); in join_handler() 535 is_mgid0 = !memcmp(&mgid0, &group->rec.mgid, in join_handler() 557 union ib_gid *mgid, gfp_t gfp_mask) in acquire_group() argument 563 is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0); in acquire_group() 566 group = mcast_find(port, mgid); in acquire_group() [all …]
|
D | cma.c | 409 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid); in cma_set_qkey() 411 id_priv->id.port_num, &rec.mgid, in cma_set_qkey() 3551 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid, in cma_ib_mc_handler() 3581 struct sockaddr *addr, union ib_gid *mgid) in cma_set_mgid() argument 3589 memset(mgid, 0, sizeof *mgid); in cma_set_mgid() 3594 memcpy(mgid, &sin6->sin6_addr, sizeof *mgid); in cma_set_mgid() 3596 memcpy(mgid, &((struct sockaddr_ib *) addr)->sib_addr, sizeof *mgid); in cma_set_mgid() 3601 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid() 3606 *mgid = *(union ib_gid *) (mc_map + 4); in cma_set_mgid() 3618 ib_addr_get_mgid(dev_addr, &rec.mgid); in cma_join_ib_multicast() [all …]
|
D | sa_query.c | 267 { MCMEMBER_REC_FIELD(mgid),
|
/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 86 union ib_gid mgid; member 163 union ib_gid *mgid) in mcast_find() argument 171 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find() 195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert() 196 sizeof group->rec.mgid); in mcast_insert() 455 nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0); in release_group() 556 if (memcmp(&group->rec.mgid, &mgid0, sizeof mgid0)) { in mlx4_ib_mcg_timeout_handler() 761 group->rec.mgid = *new_mgid; in search_relocate_mgid0_group() 763 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in search_relocate_mgid0_group() 764 be64_to_cpu(group->rec.mgid.global.interface_id)); in search_relocate_mgid0_group() [all …]
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 69 u8 *mgid; in find_mgm() local 75 mgid = mailbox->buf; in find_mgm() 77 memcpy(mgid, gid, 16); in find_mgm()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 703 u8 *mgid; in find_entry() local 712 mgid = mailbox->buf; in find_entry() 714 memcpy(mgid, gid, 16); in find_entry()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 1619 u8 mgid[16]; member 1633 u8 mgid[16]; member
|