Skip to content

Commit

Permalink
net: dsa: loop: Configure VLANs while not filtering
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Aug 19, 2020
1 parent e3ec1e8 commit f0408ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/dsa/dsa_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f0408ca

Please sign in to comment.