[PATCH] bcm53xx: disable GRO support at kernel level

2022-06-10 Thread Rafał Miłecki
From: Rafał Miłecki This improves NAT masquarade network performance. An alternative to kernel change would be runtime setup but that requires ethtool and identifying relevant network interface and all related switch ports interfaces. Signed-off-by: Rafał Miłecki --- .../600-net-disable-GRO-s

[PATCH] bcm53xx: revert bgmac back to the old limited max frame size

2022-06-10 Thread Rafał Miłecki
From: Rafał Miłecki Bumping max frame size has significantly affected network performance. It was done by upstream commit that first appeared in the 5.7 release. This change bumps NAT masquarade speed from 196 Mb/s to 383 Mb/s for the BCM4708 SoC. Ref: f55f1dbaad33 ("bcm53xx: switch to the kern

[PATCH] bcm53xx: enable & setup packet steering

2022-06-10 Thread Rafał Miłecki
From: Rafał Miłecki Packet steering can improve NAT masquarade performance on Northstar by 40-50%. It makes reaching 940-942 Mb/s possible on BCM4708 (and obviously BCM47094 too). Add scripts setting up the most optimal Northstar setup. Below are testing results for running iperf TCP traffic fro

[PATCH] kernel 5.15: x86-64: enable CONFIG_SLS

2022-06-10 Thread Rui Salvaterra
Starting with GCC 12, we have the possibility of mitigating straight-line speculation vulnerabilities in x86-64 targets. Make it so. Reported-by: Stefan Lippers-Hollmann Signed-off-by: Rui Salvaterra --- target/linux/x86/64/config-5.15 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/