projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ec1e8
)
net: dsa: loop: Configure VLANs while not filtering
author
Florian Fainelli
<f.fainelli@gmail.com>
Wed, 19 Aug 2020 04:32:17 +0000
(21:32 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 19 Aug 2020 19:01:42 +0000
(12:01 -0700)
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 <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/dsa_loop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dsa/dsa_loop.c
b/drivers/net/dsa/dsa_loop.c
index eb600b3dbf26767c943054cd09bb55ebbb9dc4f0..e6fc4fec9cfc60d7d49941521eba519050b6b0ab 100644
(file)
--- 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);