diff options
author | Elad Yifee <eladwf@gmail.com> | 2024-06-07 11:21:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-13 03:44:10 +0300 |
commit | dee4dd10c79aaca192b73520d8fb64628468ae0f (patch) | |
tree | 29d49f998774ace8a2bb1bfbaf3815b896eafb0f /net/unix/af_unix.c | |
parent | 05f43db7f011d0ebf95bd28562d7f23e30d7e107 (diff) | |
download | linux-dee4dd10c79aaca192b73520d8fb64628468ae0f.tar.xz |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions