]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:49 +0000 (12:10 +0200)
commit106fb49b14af1eeb064616090f8cc9afc27516be
treeb347d875b3a22a4b2f056f4737f2a3eab4bf9be6
parenta7bd974edf12185341f85e1a2197b7065e2322d9
net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow

[ Upstream commit 924531326e2dd4ceabe7240f2b55a88e7d894ec2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mediatek/mtk_ppe.c