mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-27 18:36:34 +04:00
LAG handling is split between dsa.c and lag.c. Consolidate the remaining LAG callbacks and helpers in lag.c to keep related functionality together. Rename the moved functions with the otto_lag_ prefix and declare the cross-file interfaces in lag.h. Update callers, DSA operation tables and RTL93xx configuration references, and add the required includes. Leave the port management functions in place for a later refactoring. No functional changes intended. Assisted-by: ChatGPT (OpenAI GPT-6 Astra) Link: https://github.com/openwrt/openwrt/pull/25802 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>