drivers: net: cpsw: Add default vlan for dual emac case also
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 9 Apr 2014 06:04:40 +0000 (11:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Apr 2014 18:55:37 +0000 (14:55 -0400)
commit629c9a8fd0bbdfc6d702526b327470166ec39c6b
treed0c94a48c8d40a33a8ee77ea27226831f18384dd
parentfa8cddaf903c0e010ff2de210ea4974fa30603ef
drivers: net: cpsw: Add default vlan for dual emac case also

Dual EMAC works with VLAN segregation of the ports, so default vlan needs
to be added in dual EMAC case else default vlan will be tagged for all
egress packets and vlan unaware switches/servers will drop packets
from the EVM.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c