diff options
author | Murali Karicheri | 2019-01-08 09:55:31 -0600 |
---|---|---|
committer | Murali Karicheri | 2019-01-08 09:55:31 -0600 |
commit | 1d1ce3d3056814c55f03972b231c95b2c06dccba (patch) | |
tree | 7db0aaa000b322096e1d90134ac7f16d0a91358e | |
parent | 6884533f4cca8cf4fa2d270cfdaf943526ef4d3d (diff) | |
download | mkaricheri-ti-linux-kernel-net/next/ti-cpsw-switchdev-v3.tar.gz mkaricheri-ti-linux-kernel-net/next/ti-cpsw-switchdev-v3.tar.xz mkaricheri-ti-linux-kernel-net/next/ti-cpsw-switchdev-v3.zip |
update for vlan 0net/next/ti-cpsw-switchdev-v3
-rw-r--r-- | drivers/net/ethernet/ti/cpsw_new.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_new.c b/drivers/net/ethernet/ti/cpsw_new.c index 5cf782d08f16..879e1d98bfa4 100644 --- a/drivers/net/ethernet/ti/cpsw_new.c +++ b/drivers/net/ethernet/ti/cpsw_new.c | |||
@@ -697,6 +697,9 @@ static int cpsw_ndo_open(struct net_device *ndev) | |||
697 | cpsw_init_host_port(priv); | 697 | cpsw_init_host_port(priv); |
698 | for_each_slave(priv, cpsw_slave_open, priv); | 698 | for_each_slave(priv, cpsw_slave_open, priv); |
699 | 699 | ||
700 | cpsw_ale_add_vlan(cpsw->ale, cpsw->data.default_vlan, | ||
701 | ALE_ALL_PORTS, ALE_ALL_PORTS, 0, 0); | ||
702 | |||
700 | /* initialize shared resources for every ndev */ | 703 | /* initialize shared resources for every ndev */ |
701 | if (!cpsw->usage_count) { | 704 | if (!cpsw->usage_count) { |
702 | /* disable priority elevation */ | 705 | /* disable priority elevation */ |