All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@nvidia.com>
To: Nikolay Aleksandrov <razor@blackwall.org>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	bridge@lists.linux.dev
Subject: Re: [PATCH net-next 0/3] net: bridge: optimize vlan multicast forwarding
Date: Tue, 24 Nov 2026 15:55:06 +0200	[thread overview]
Message-ID: <20261124135506.GA3882860@shredder> (raw)
In-Reply-To: <20261123102833.924427-1-razor@blackwall.org>

On Mon, Nov 23, 2026 at 12:28:30PM +0200, Nikolay Aleksandrov wrote:
> Hi,
> This is the last part of the patch-sets that optimize forwarding by caching
> VLANs. It adds the forwarding optimizations to the bridge multicast code
> and also optimizes vlan range add (see tables below).
> 
> Patch 01 - use the vlan already stored in the in per-VLAN router context
> Patch 02 - use a small hash (64 entries) to find the port vlan groups
>            without walking all
> Patch 03 - cache the port-VLAN destination in mdbs to avoid egress VLAN
>            lookups

LGTM. Patch 3 would have been a bit easier to review if it was split
into a control path patch (adding / updating pg->dst) and a data path
patch which decodes pg->dst while forwarding.

Reviewed-by: Ido Schimmel <idosch@nvidia.com>

  parent reply	other threads:[~2026-11-24 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 10:28 [PATCH net-next 0/3] net: bridge: optimize vlan multicast forwarding Nikolay Aleksandrov
2026-11-23 10:28 ` [PATCH net-next 1/3] net: bridge: avoid VLAN lookups for multicast router forwarding Nikolay Aleksandrov
2026-11-23 10:28 ` [PATCH net-next 2/3] net: bridge: mdb: index port groups by VLAN Nikolay Aleksandrov
2026-11-23 10:28 ` [PATCH net-next 3/3] net: bridge: mdb: avoid VLAN lookups in listener forwarding Nikolay Aleksandrov
2026-11-24 13:55 ` Ido Schimmel [this message]
2026-11-26 14:40 ` [PATCH net-next 0/3] net: bridge: optimize vlan multicast forwarding 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=20261124135506.GA3882860@shredder \
    --to=idosch@nvidia.com \
    --cc=bridge@lists.linux.dev \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.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.