kernel: add a fast path for the bridge code
authorFelix Fietkau <nbd@nbd.name>
Sat, 12 Feb 2022 22:18:51 +0000 (23:18 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sat, 12 Feb 2022 22:50:26 +0000 (23:50 +0100)
commit94b4da9b4aaded6ed8a5bd93bf38a7c92753fe68
treea538f2d97898414ae29a72a280cb0e76303d71f8
parent8f5875c4e221453932f217a82f8c3092cacba3e5
kernel: add a fast path for the bridge code

This caches flows between MAC addresses on separate ports, including their VLAN
in order to bypass the normal bridge forwarding code.
In my test on MT7622, this reduces LAN->WLAN bridging CPU usage by 6-10%,
potentially even more on weaker platforms

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/hack-5.10/600-bridge_offload.patch [new file with mode: 0644]
target/linux/generic/hack-5.10/640-bridge-only-accept-EAP-locally.patch