Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2025 12:29:36 +0100
From:      Lexi Winter <lexi@hemlock.eden.le-fay.org>
To:        freebsd-net@freebsd.org
Subject:   Re: bridge(4) VLAN filtering
Message-ID:  <Z_EUIEy9PzfpVeFq@hemlock.eden.le-fay.org>
In-Reply-To: <Z_DruKHpzwEEQGJK@hemlock.eden.le-fay.org>
References:  <Z_ApVMypCNgruB2K@hemlock.eden.le-fay.org> <4b137357-a674-4fe3-82ea-7c1985fa0dd0@shrew.net> <Z_DruKHpzwEEQGJK@hemlock.eden.le-fay.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lexi Winter:
> bridge_input() also does a second list walk in GRAB_OUR_PACKETS to find
> traffic destined for the local host, which we could avoid with a sysctl
> to ignore Ethernet traffic for MAC addresses other than the bridge
> itself.  this would break configurations where IP addresses are assigned
> to bridge member interfaces, but that's always been the wrong way to
> configure it, so it's not a huge loss.

i tested this today and observed a 22% throughput increase on a
50-member bridge by removing this list walk.

PR at https://github.com/freebsd/freebsd-src/pull/1641

(however, it's possible this breaks something else that i haven't
thought of; ymmv.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z_EUIEy9PzfpVeFq>