aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2020-08-19 04:32:17 +0000
committerDavid S. Miller <[email protected]>2020-08-19 19:01:42 +0000
commitf0408ca45a83ad9a579e70c2878a9533dd04f036 (patch)
tree686afb7823ea9e4a210c3f5c5aa9954bc2ebffdb /drivers/net/dsa/dsa_loop.c
parentnet: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear() (diff)
downloadkernel-f0408ca45a83ad9a579e70c2878a9533dd04f036.tar.gz
kernel-f0408ca45a83ad9a579e70c2878a9533dd04f036.zip
net: dsa: loop: Configure VLANs while not filtering
Since this is a mock-up driver with no real data path for now, but we will have one at some point, enable VLANs while not filtering. Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
-rw-r--r--drivers/net/dsa/dsa_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/dsa_loop.c b/drivers/net/dsa/dsa_loop.c
index eb600b3dbf26..e6fc4fec9cfc 100644
--- a/drivers/net/dsa/dsa_loop.c
+++ b/drivers/net/dsa/dsa_loop.c
@@ -290,6 +290,7 @@ static int dsa_loop_drv_probe(struct mdio_device *mdiodev)
ds->dev = &mdiodev->dev;
ds->ops = &dsa_loop_driver;
ds->priv = ps;
+ ds->configure_vlan_while_not_filtering = true;
ps->bus = mdiodev->bus;
dev_set_drvdata(&mdiodev->dev, ds);