[ofw] ipoib multicast code

Hefty, Sean sean.hefty at intel.com
Thu Jul 1 14:12:05 PDT 2010


Does anyone know why this code exists in ipoib?

ipoib_port.c: ipoib_port_join_mcast()

		/* Handle non IP mutlicast MAC addresses. */
		/* Update the signature to use the lower 2 bytes of the OpenIB OUI. */
		mcast_req.member_rec.mgid.raw[2] = 0x14;
		mcast_req.member_rec.mgid.raw[3] = 0x05;
		/* Now copy the MAC address into the last 6 bytes of the GID. */
		cl_memcpy( &mcast_req.member_rec.mgid.raw[10], mac.addr, 6 );

- Sean



More information about the ofw mailing list