From: Paolo Abeni <pabeni@redhat.com>
To: Yuyang Huang <sigefriedhyy@gmail.com>
Cc: netdev-bot+sashiko@kernel.org, ajay.kathat@microchip.com,
aleksandr.loktionov@intel.com, andrew+netdev@lunn.ch,
claudiu.beznea@tuxon.dev, davem@davemloft.net,
dsahern@kernel.org, donald.hunter@gmail.com, edumazet@google.com,
idosch@nvidia.com, jacob.e.keller@intel.com, kuba@kernel.org,
johannes@sipsolutions.net, kees@kernel.org,
kory.maincent@bootlin.com, kuniyu@google.com,
nicolas.dichtel@6wind.com, nickgarlis@gmail.com,
sd@queasysnail.net, shuah@kernel.org, horms@kernel.org,
sdf.kernel@gmail.com, vadim.fedorenko@linux.dev,
willemb@google.com, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-wireless@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH net-next v11 3/6] net: add a generation counter for dev->mc changes
Date: Wed, 21 Oct 2026 10:49:59 +0200 [thread overview]
Message-ID: <d3a1b219-84da-4ed8-9d87-5619e74bd1f5@redhat.com> (raw)
In-Reply-To: <CA+7S2vLWvQd7GrnwB+B+DiqAgST8EjfWwBKzJXtjGRBPVgmOBg@mail.gmail.com>
On 10/20/26 12:22, Yuyang Huang wrote:
>> To clarify: every I mentioned in my previous email was about possible
>> follow-ups - not to be included here.
>
> Understood, I will send them as separate patches.
>
>> My understanding is that there is sort of a pending/implicit question
>> from Jakub on v9: why are you doing this? is does it solve some
>> specific scaling problem or is 'nl is nicer" thing?
>
> I think the motivation question was on the v5 thread, and I replied
> there as well.
FTR (and just in case it's not obvious enough :-P) the ML traffic is
quite overwhelming. I unable to read some of the email/patches I
don't end-up processing, and even when I actually processed the
relevant email, I could end-up forgetting a specific contents of one
given email, some 10-100K emails later...
TL;DR: please include the relevant information in later revisions, at
least as a reference link.
> My original motivation is to simplify some userspace hardware offload
> code I am working on, and to finish moving "ip maddr" to netlink.
>
> RTM_GETMULTICAST already reports IPv4 and IPv6 group memberships with
> IFA_MC_USERS. dev->mc is the only part of the multicast state still
> available only from /proc/net/dev_mcast, so every consumer that needs
> the full picture keeps two paths: netlink for L3 and procfs text
> parsing for L2. The offload code above is one such consumer. iproute2
> is another: "ip maddr show" already gets IPv4/IPv6 over netlink but
> still parses procfs for its link-layer entries. The iproute2 change to
> drop that is ready to follow this series.
I agree that the unified interface makes sense.
/P
next prev parent reply other threads:[~2026-10-21 8:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 1:17 [PATCH net-next v11 0/6] rtnetlink: dump link-layer multicast addresses Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 1/6] netlink: specs: rt-addr: fix the type of target-netnsid Yuyang Huang
2026-10-13 2:04 ` netdev-bot+sashiko
2026-10-13 10:21 ` Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 2/6] net: change netdev_hw_addr_list count through helpers Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 3/6] net: add a generation counter for dev->mc changes Yuyang Huang
2026-10-13 2:04 ` netdev-bot+sashiko
2026-10-13 10:25 ` Yuyang Huang
2026-10-19 11:19 ` Paolo Abeni
2026-10-19 11:35 ` Yuyang Huang
2026-10-20 7:11 ` Paolo Abeni
2026-10-20 10:22 ` Yuyang Huang
2026-10-21 8:49 ` Paolo Abeni [this message]
2026-10-21 10:44 ` Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 4/6] net: add AF_PACKET multicast dumps Yuyang Huang
2026-10-13 2:05 ` netdev-bot+sashiko
2026-10-13 10:27 ` Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 5/6] netlink: specs: rt-addr: document " Yuyang Huang
2026-10-12 1:17 ` [PATCH net-next v11 6/6] selftests: net: test " Yuyang Huang
2026-10-14 10:46 ` Loktionov, Aleksandr
2026-10-21 9:00 ` [PATCH net-next v11 0/6] rtnetlink: dump link-layer multicast addresses patchwork-bot+netdevbpf
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=d3a1b219-84da-4ed8-9d87-5619e74bd1f5@redhat.com \
--to=pabeni@redhat.com \
--cc=ajay.kathat@microchip.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=claudiu.beznea@tuxon.dev \
--cc=davem@davemloft.net \
--cc=donald.hunter@gmail.com \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=jacob.e.keller@intel.com \
--cc=johannes@sipsolutions.net \
--cc=kees@kernel.org \
--cc=kory.maincent@bootlin.com \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nickgarlis@gmail.com \
--cc=nicolas.dichtel@6wind.com \
--cc=sd@queasysnail.net \
--cc=sdf.kernel@gmail.com \
--cc=shuah@kernel.org \
--cc=sigefriedhyy@gmail.com \
--cc=vadim.fedorenko@linux.dev \
--cc=willemb@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®