On Fri, 14 Nov 2025 11:57:53 +0100
Robin Jarry <[email protected]> wrote:

> @@ -406,7 +406,7 @@ rte_ipv6_llocal_from_ethernet(struct rte_ipv6_addr *ip, 
> const struct rte_ether_a
>       ip->a[0] = 0xfe;
>       ip->a[1] = 0x80;
>       memset(&ip->a[2], 0, 6);
> -     ip->a[8] = mac->addr_bytes[0];
> +     ip->a[8] = mac->addr_bytes[0] ^ 0x02;

Could use RTE_ETHER_LOCAL_ADMIN_ADDR instead of magic constant 2,
but seems a little wordy to do that.

Reply via email to