18/11/2025 18:45, Robin Jarry:
> From: Christophe Fontaine <[email protected]>
> > Modified EUI-64 format interface identifiers are formed by inverting
> > the "u" bit (universal/local bit in IEEE EUI-64 terminology) when
> > forming the interface identifier from IEEE EUI-64 identifiers.
[...]
> -     ip->a[8] = mac->addr_bytes[0];
> +     ip->a[8] = mac->addr_bytes[0] ^ RTE_ETHER_LOCAL_ADMIN_ADDR;

In all other places, we use the operator OR, so I'm not sure about this XOR.
Also, rte_is_universal_ether_addr() and rte_is_local_admin_ether_addr()
are comparing this bit with 0.
Is this bit always 0 by default in MAC addresses?


Reply via email to