]> git.proxmox.com Git - mirror_ubuntu-kernels.git/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)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Wed, 17 May 2023 11:33:49 +0000 (13:33 +0200)
commit05e092788f802fae2ca04376af6216dd08e13905
treee5616d9885a52cc32b67127fb1ca46260017676f
parent79b9ed1108b6d90d3a1f05173ca197b12a2594fb
net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow

BugLink: https://bugs.launchpad.net/bugs/2016878
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/mediatek/mtk_ppe.c