mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 19:48:16 +04:00
The SoC-specific driver files still contain the complete Packet Inspection Engine implementations. This makes the files difficult to navigate and mixes PIE handling with unrelated hardware functionality. Move the common PIE interface and the SoC-specific implementations into new pie.c and pie.h files. Keep the existing per-SoC operations and their assignment in the switch configuration unchanged. Packet counters remain in the SoC-specific files because they are also used by the L3 offload implementation. This is a code reorganization and does not change functionality. Assisted-by: ChatGPT (OpenAI GPT-5.6 Sol) Link: https://github.com/openwrt/openwrt/pull/25160 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>