mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 00:14:39 +04:00
The global flow control thresholds are left at their reset values, so the switch starts to drop frames once 984 pages of the packet buffer are in use. The vendor SDK raises them at initialisation, to 2592 pages in its 8x10G profile and to 2192 pages in its larger ones. Program the SDK values in the four global threshold registers: those of the 8x10G profile on switches with up to 8 user ports, the others above that. RTL9303, pause off, TCP for 20 seconds through a port limited to 100 Mbit/s on egress: one flow is retransmitted 164 and 149 times before and 56 and 72 times after, four flows 1480 and 1473 times before and 291 and 294 times after, at 0.7 to 0.8 Mbit/s more throughput. The deeper buffer raises the queueing delay at that port from at most 20 ms to at most 58 ms. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Quinn O'Shea <qoshea@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25970 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>