net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow
authorFelix Fietkau <nbd@nbd.name>
Thu, 30 Mar 2023 12:08:40 +0000 (14:08 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Mar 2023 18:44:59 +0000 (11:44 -0700)
commit924531326e2dd4ceabe7240f2b55a88e7d894ec2
tree9f2e04aeea1cb96819e99deae351aa8bf4428103
parent5f36ca1b841fb17a20249fd9fedafc7dc7fdd940
net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow

The cache needs to be flushed to ensure that the hardware stops offloading
the flow immediately.

Fixes: 33fc42de3327 ("net: ethernet: mtk_eth_soc: support creating mac address based offload entries")
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230330120840.52079-3-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_ppe.c