• Home
  • Raw
  • Download

Lines Matching refs:multicast

155 	} multicast;  member
268 kfree(mc->multicast.ib); in release_mc()
1018 ib_sa_free_multicast(mc->multicast.ib); in cma_leave_mc_groups()
3130 static int cma_ib_mc_handler(int status, struct ib_sa_multicast *multicast) in cma_ib_mc_handler() argument
3133 struct cma_multicast *mc = multicast->context; in cma_ib_mc_handler()
3143 status = cma_set_qkey(id_priv, be32_to_cpu(multicast->rec.qkey)); in cma_ib_mc_handler()
3146 status = ib_attach_mcast(id_priv->id.qp, &multicast->rec.mgid, in cma_ib_mc_handler()
3147 be16_to_cpu(multicast->rec.mlid)); in cma_ib_mc_handler()
3156 id_priv->id.port_num, &multicast->rec, in cma_ib_mc_handler()
3159 event.param.ud.qkey = be32_to_cpu(multicast->rec.qkey); in cma_ib_mc_handler()
3242 mc->multicast.ib = ib_sa_join_multicast(&sa_client, id_priv->id.device, in cma_join_ib_multicast()
3246 return PTR_ERR_OR_ZERO(mc->multicast.ib); in cma_join_ib_multicast()
3253 struct ib_sa_multicast *m = mc->multicast.ib; in iboe_mcast_work_handler()
3255 mc->multicast.ib->context = mc; in iboe_mcast_work_handler()
3303 mc->multicast.ib = kzalloc(sizeof(struct ib_sa_multicast), GFP_KERNEL); in cma_iboe_join_multicast()
3304 if (!mc->multicast.ib) { in cma_iboe_join_multicast()
3309 cma_iboe_set_mgid(addr, &mc->multicast.ib->rec.mgid); in cma_iboe_join_multicast()
3311 mc->multicast.ib->rec.pkey = cpu_to_be16(0xffff); in cma_iboe_join_multicast()
3313 mc->multicast.ib->rec.qkey = cpu_to_be32(RDMA_UDP_QKEY); in cma_iboe_join_multicast()
3321 mc->multicast.ib->rec.rate = iboe_get_rate(ndev); in cma_iboe_join_multicast()
3322 mc->multicast.ib->rec.hop_limit = 1; in cma_iboe_join_multicast()
3323 mc->multicast.ib->rec.mtu = iboe_get_mtu(ndev->mtu); in cma_iboe_join_multicast()
3325 if (!mc->multicast.ib->rec.mtu) { in cma_iboe_join_multicast()
3330 &mc->multicast.ib->rec.port_gid); in cma_iboe_join_multicast()
3340 kfree(mc->multicast.ib); in cma_iboe_join_multicast()
3413 &mc->multicast.ib->rec.mgid, in rdma_leave_multicast()
3414 be16_to_cpu(mc->multicast.ib->rec.mlid)); in rdma_leave_multicast()
3418 ib_sa_free_multicast(mc->multicast.ib); in rdma_leave_multicast()