diff options
author | 2024-06-07 11:21:50 +0300 | |
---|---|---|
committer | 2024-06-12 17:44:10 -0700 | |
commit | dee4dd10c79aaca192b73520d8fb64628468ae0f (patch) | |
tree | 29d49f998774ace8a2bb1bfbaf3815b896eafb0f /drivers/net/dsa | |
parent | Merge branch 'allow-configuration-of-multipath-hash-seed' (diff) | |
download | wireguard-linux-dee4dd10c79aaca192b73520d8fb64628468ae0f.tar.xz wireguard-linux-dee4dd10c79aaca192b73520d8fb64628468ae0f.zip |
net: ethernet: mtk_eth_soc: ppe: add support for multiple PPEs
Add the missing pieces to allow multiple PPEs units, one for each GMAC.
mtk_gdm_config has been modified to work on targted mac ID,
the inner loop moved outside of the function to allow unrelated
operations like setting the MAC's PPE index.
Introduce a sanity check in flow_offload_replace to account for
non-MTK ingress devices.
Additional field 'ppe_idx' was added to struct mtk_mac in order
to keep track on the assigned PPE unit.
Signed-off-by: Elad Yifee <eladwf@gmail.com>
Link: https://lore.kernel.org/r/20240607082155.20021-1-eladwf@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions