]> www.infradead.org Git - users/willy/linux.git/commit
net: ethernet: mtk_eth_soc: ppe: prevent ppe update for non-mtk devices
authorElad Yifee <eladwf@gmail.com>
Sun, 23 Jun 2024 17:51:09 +0000 (20:51 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 25 Jun 2024 13:35:53 +0000 (15:35 +0200)
commit73cfd947dbdb25ef9863ac49c4596a7d53ad4025
treeec03af22c6faac82a506ce311e02009a39ae1371
parent1d706875927cae8e05742ee846d1bb7b85e4f12f
net: ethernet: mtk_eth_soc: ppe: prevent ppe update for non-mtk devices

Introduce an additional validation to ensure that the PPE index
is modified exclusively for mtk_eth ingress devices.
This primarily addresses the issue related
to WED operation with multiple PPEs.

Fixes: dee4dd10c79a ("net: ethernet: mtk_eth_soc: ppe: add support for multiple PPEs")
Signed-off-by: Elad Yifee <eladwf@gmail.com>
Link: https://lore.kernel.org/r/20240623175113.24437-1-eladwf@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mediatek/mtk_ppe_offload.c