rtl83xx: dsa: disable VLAN filtering on CPU port
authorHarshal Gohel <hg@simonwunderlich.de>
Mon, 27 Nov 2023 16:09:27 +0000 (17:09 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 9 Jan 2024 20:15:37 +0000 (21:15 +0100)
commite0c0137eed81e365156270d20a3ba73b14e142f1
tree352803748ce4b9cf489d44d12716509f3ad597eb
parent3e753c45cd19199ef61aad805b0e29ed261577bd
rtl83xx: dsa: disable VLAN filtering on CPU port

Before driver code
 - enabled egress filter for cpu and non-cpu ports
 - enabled ingress filter for non-cpu ports

This patch explicitly enables ingress and egress filtering for non-cpu
ports and disables ingress and egress filtering for cpu port.

Acked-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/dsa.c