/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
D | ipoib_multicast.c | 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() [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 | 39 union ib_gid *mgid, u16 mlid, int set_qkey, u32 qkey) in ipoib_mcast_attach() argument 69 ret = ib_attach_mcast(priv->qp, mgid, mlid); in ipoib_mcast_attach() 79 union ib_gid *mgid, u16 mlid) in ipoib_mcast_detach() argument 84 ret = ib_detach_mcast(priv->qp, mgid, mlid); in ipoib_mcast_detach()
|
D | ipoib.h | 581 union ib_gid *mgid, u16 mlid, int set_qkey, u32 qkey); 583 union ib_gid *mgid, u16 mlid); 585 void ipoib_check_and_add_mcast_sendonly(struct ipoib_dev_priv *priv, u8 *mgid,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mcg.c | 39 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_attach_mcg() argument 47 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_core_attach_mcg() 52 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_detach_mcg() argument 60 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_core_detach_mcg()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 107 static struct rvt_mcast *rvt_mcast_alloc(union ib_gid *mgid, u16 lid) in rvt_mcast_alloc() argument 115 mcast->mcast_addr.mgid = *mgid; in rvt_mcast_alloc() 148 struct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid, in rvt_mcast_find() argument 163 ret = memcmp(mgid->raw, mcast->mcast_addr.mgid.raw, in rvt_mcast_find() 164 sizeof(*mgid)); in rvt_mcast_find() 209 ret = memcmp(mcast->mcast_addr.mgid.raw, in rvt_mcast_add() 210 tmcast->mcast_addr.mgid.raw, in rvt_mcast_add() 211 sizeof(mcast->mcast_addr.mgid)); in rvt_mcast_add() 368 ret = memcmp(gid->raw, mcast->mcast_addr.mgid.raw, in rvt_detach_mcast()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_mcast.c | 10 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid, in rxe_mcast_get_grp() argument 21 grp = rxe_pool_get_key(&rxe->mc_grp_pool, mgid); in rxe_mcast_get_grp() 35 rxe_add_key(grp, mgid); in rxe_mcast_get_grp() 37 err = rxe_mcast_add(rxe, mgid); in rxe_mcast_get_grp() 96 union ib_gid *mgid) in rxe_mcast_drop_grp_elem() argument 101 grp = rxe_pool_get_key(&rxe->mc_grp_pool, mgid); in rxe_mcast_drop_grp_elem() 162 rxe_mcast_delete(rxe, &grp->mgid); in rxe_mc_cleanup()
|
D | rxe_loc.h | 43 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid, 50 union ib_gid *mgid); 120 int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid); 121 int rxe_mcast_delete(struct rxe_dev *rxe, union ib_gid *mgid);
|
D | rxe_net.c | 23 int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_add() argument 28 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_add() 34 int rxe_mcast_delete(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_delete() argument 39 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_delete()
|
D | rxe_verbs.c | 1004 static int rxe_attach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid) in rxe_attach_mcast() argument 1012 err = rxe_mcast_get_grp(rxe, mgid, &grp); in rxe_attach_mcast() 1022 static int rxe_detach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid) in rxe_detach_mcast() argument 1027 return rxe_mcast_drop_grp_elem(rxe, qp, mgid); in rxe_detach_mcast()
|
D | rxe_verbs.h | 327 union ib_gid mgid; member
|
D | rxe_pool.c | 71 .key_offset = offsetof(struct rxe_mc_grp, mgid),
|
/kernel/linux/linux-5.10/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() 531 mgids_changed = memcmp(&rec->mgid, &group->rec.mgid, in join_handler() 532 sizeof(group->rec.mgid)); in join_handler() 536 is_mgid0 = !memcmp(&mgid0, &group->rec.mgid, 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() [all …]
|
D | cma.c | 72 union ib_gid *mgid); 437 static int cma_igmp_send(struct net_device *ndev, union ib_gid *mgid, bool join) in cma_igmp_send() argument 447 *(__be32 *)(mgid->raw + 12)); in cma_igmp_send() 450 *(__be32 *)(mgid->raw + 12)); in cma_igmp_send() 530 ib_addr_get_mgid(&id_priv->id.route.addr.dev_addr, &rec.mgid); in cma_set_qkey() 532 id_priv->id.port_num, &rec.mgid, in cma_set_qkey() 1844 union ib_gid mgid; in destroy_mc() local 1847 &mgid); in destroy_mc() 1850 cma_igmp_send(ndev, &mgid, false); in destroy_mc() 4569 struct sockaddr *addr, union ib_gid *mgid) in cma_set_mgid() argument [all …]
|
/kernel/linux/linux-5.10/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() 758 group->rec.mgid = *new_mgid; in search_relocate_mgid0_group() 760 be64_to_cpu(group->rec.mgid.global.subnet_prefix), in search_relocate_mgid0_group() 761 be64_to_cpu(group->rec.mgid.global.interface_id)); in search_relocate_mgid0_group() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cmd.c | 222 int mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, in mlx5_cmd_attach_mcg() argument 232 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_cmd_attach_mcg() 236 int mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, in mlx5_cmd_detach_mcg() argument 246 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_cmd_detach_mcg()
|
D | cmd.h | 55 int mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, 57 int mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | ipoib_main.c | 123 union ib_gid *mgid, in hfi1_ipoib_mcast_attach() argument 144 ret = ib_attach_mcast(&qp->ibqp, mgid, mlid); in hfi1_ipoib_mcast_attach() 155 union ib_gid *mgid, in hfi1_ipoib_mcast_detach() argument 170 ret = ib_detach_mcast(&qp->ibqp, mgid, mlid); in hfi1_ipoib_mcast_detach()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_sa.h | 308 union ib_gid mgid; member 510 union ib_gid *mgid, struct ib_sa_mcmember_rec *rec);
|
D | rdma_vt.h | 529 struct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid,
|
D | rdmavt_qp.h | 514 union ib_gid mgid; member
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | driver.h | 985 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn); 986 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 701 u8 *mgid; in find_entry() local 710 mgid = mailbox->buf; in find_entry() 712 memcpy(mgid, gid, 16); in find_entry()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 1630 u8 mgid[16]; member 1644 u8 mgid[16]; member
|