[U-Boot] [PATCHv6 11/28] net: core: Add MAC address helper functions

Joe Hershberger joe.hershberger at ni.com
Tue May 30 21:09:51 UTC 2017


On Mon, May 15, 2017 at 3:02 AM, Olliver Schinagl <oliver at schinagl.nl> wrote:
> Universally administered and locally administered addresses are
> distinguished by setting the second-least-significant bit of the first
> octet of the address. Having a function to check and set this U/L bit
> from a function makes it nice for boards that want to generate their own
> mac address to ensure they are locally administered.
>
> Unicast and multicast addresses are distinguised by setting the
> least-significant bit of the first octet of the address. Having a
> function to check and set this U/M bit from a function it nice to
> make a generated mac address a unicast address.
>
> This patch introduces both these helper functions
>
> Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list