All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "Robin Jarry" <rjarry@redhat.com>
Cc: "Morten Brørup" <mb@smartsharesystems.com>,
	dev@dpdk.org, "Christophe Fontaine" <cfontain@redhat.com>,
	stable@dpdk.org
Subject: Re: [PATCH dpdk] net: ipv6 link local compliance with rfc 4291
Date: Fri, 14 Nov 2025 09:03:41 -0800	[thread overview]
Message-ID: <20251114090341.589bcbd6@phoenix> (raw)
In-Reply-To: <DE8KJK97R8KQ.3SC0EJPIEHSP3@redhat.com>

On Fri, 14 Nov 2025 17:46:42 +0100
"Robin Jarry" <rjarry@redhat.com> wrote:

> Morten Brørup, Nov 14, 2025 at 17:14:
> >> From: Stephen Hemminger [mailto:stephen@networkplumber.org]
> >> Reading the kernel source there is also special handling to include
> >> device
> >> id into link local address. This is to handle corner case where
> >> multiple network
> >> cards have same hardware MAC address.  
> >
> > Multiple physical NICs should never have the same MAC address.
> > Lots of stuff will break if they do.
> > E.g. a network switch will forward packets to the NIC that most recently sent packets, so its MAC address was learned in the MAC address table in the switch.
> >
> > What is the use case justifying this tweak in the kernel?  
> 
> Some drivers expose multiple ports sharing the same mac address.
> 
> This very is specific to certain hardware vendors. The comment here
> refers to a change from 2005. I couldn't find the root commit/email.

Yes, this code is in first git commit 2.6.12 from 2005 it is possible
(but not worth the effort) to find it in earlier repos.

  reply	other threads:[~2025-11-14 17:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14 10:57 [PATCH dpdk] net: ipv6 link local compliance with rfc 4291 Robin Jarry
2025-11-14 16:05 ` Stephen Hemminger
2025-11-14 16:08   ` Robin Jarry
2025-11-14 16:14   ` Morten Brørup
2025-11-14 16:46     ` Robin Jarry
2025-11-14 17:03       ` Stephen Hemminger [this message]
2025-11-15 17:57         ` Robin Jarry
2025-11-14 16:48     ` Stephen Hemminger
2025-11-14 16:08 ` Stephen Hemminger
2025-11-18 17:45 ` [PATCH dpdk v2] " Robin Jarry
2025-11-19  0:07   ` Thomas Monjalon
2025-11-19  0:27     ` Thomas Monjalon
2025-11-19 14:42       ` Robin Jarry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251114090341.589bcbd6@phoenix \
    --to=stephen@networkplumber.org \
    --cc=cfontain@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mb@smartsharesystems.com \
    --cc=rjarry@redhat.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.