Re: bridge(4) VLAN filtering
- In reply to: Lexi Winter : "Re: bridge(4) VLAN filtering"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Apr 2025 11:29:36 UTC
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.)