Lines Matching refs:gid
44 static void ib_mcast_mad ( struct ib_device *ibdev, struct ib_gid *gid, in ib_mcast_mad() argument
59 memcpy ( &sa->sa_data.mc_member_record.mgid, gid, in ib_mcast_mad()
61 memcpy ( &sa->sa_data.mc_member_record.port_gid, &ibdev->gid, in ib_mcast_mad()
82 struct ib_gid *gid = &membership->gid; in ib_mcast_complete() local
102 ntohl ( gid->u.dwords[0] ), ntohl ( gid->u.dwords[1] ), in ib_mcast_complete()
103 ntohl ( gid->u.dwords[2] ), ntohl ( gid->u.dwords[3] ), in ib_mcast_complete()
139 struct ib_mc_membership *membership, struct ib_gid *gid, in ib_mcast_join() argument
148 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ), in ib_mcast_join()
149 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ), in ib_mcast_join()
150 ntohl ( gid->u.dwords[3] ) ); in ib_mcast_join()
154 memcpy ( &membership->gid, gid, sizeof ( membership->gid ) ); in ib_mcast_join()
158 if ( ( rc = ib_mcast_attach ( ibdev, qp, gid ) ) != 0 ) { in ib_mcast_join()
165 ib_mcast_mad ( ibdev, gid, 1, &mad ); in ib_mcast_join()
180 ib_mcast_detach ( ibdev, qp, gid ); in ib_mcast_join()
194 struct ib_gid *gid = &membership->gid; in ib_mcast_leave() local
199 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ), in ib_mcast_leave()
200 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ), in ib_mcast_leave()
201 ntohl ( gid->u.dwords[3] ) ); in ib_mcast_leave()
204 ib_mcast_detach ( ibdev, qp, &membership->gid ); in ib_mcast_leave()
213 ib_mcast_mad ( ibdev, &membership->gid, 0, &mad ); in ib_mcast_leave()