From 69055a54121a95c4e0e9dd409d8b78d19743c221 Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Mon, 4 Apr 2022 21:25:20 +0900 Subject: [PATCH] realtek: enable needs_standalone_vlan_filtering on DSA driver in 5.15 To configure VLAN 0, enable needs_standalone_vlan_filtering option of dsa_switch struct. Signed-off-by: INAGAKI Hiroshi --- target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c b/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c index e86ff9ccdf..b5afed0ef5 100644 --- a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c +++ b/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c @@ -1466,6 +1466,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev) priv->ds->dev = dev; priv->ds->priv = priv; priv->ds->ops = &rtl83xx_switch_ops; + priv->ds->needs_standalone_vlan_filtering = true; priv->dev = dev; mutex_init(&priv->reg_mutex); -- 2.30.2