Home | History | Annotate | Download | only in infiniband

Lines Matching defs:gid

40  * @v gid		Multicast GID
44 static void ib_mcast_mad ( struct ib_device *ibdev, struct ib_gid *gid,
59 memcpy ( &sa->sa_data.mc_member_record.mgid, gid,
61 memcpy ( &sa->sa_data.mc_member_record.port_gid, &ibdev->gid,
82 struct ib_gid *gid = &membership->gid;
102 ntohl ( gid->u.dwords[0] ), ntohl ( gid->u.dwords[1] ),
103 ntohl ( gid->u.dwords[2] ), ntohl ( gid->u.dwords[3] ),
134 * @v gid Multicast GID to join
139 struct ib_mc_membership *membership, struct ib_gid *gid,
148 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ),
149 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ),
150 ntohl ( gid->u.dwords[3] ) );
154 memcpy ( &membership->gid, gid, sizeof ( membership->gid ) );
157 /* Attach queue pair to multicast GID */
158 if ( ( rc = ib_mcast_attach ( ibdev, qp, gid ) ) != 0 ) {
165 ib_mcast_mad ( ibdev, gid, 1, &mad );
180 ib_mcast_detach ( ibdev, qp, gid );
194 struct ib_gid *gid = &membership->gid;
199 ibdev, qp->qpn, ntohl ( gid->u.dwords[0] ),
200 ntohl ( gid->u.dwords[1] ), ntohl ( gid->u.dwords[2] ),
201 ntohl ( gid->u.dwords[3] ) );
203 /* Detach from multicast GID */
204 ib_mcast_detach ( ibdev, qp, &membership->gid );
213 ib_mcast_mad ( ibdev, &membership->gid, 0, &mad );