]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2674fb9eb36b0767f1756e91266ea9de16098449
treed0c94a48c8d40a33a8ee77ea27226831f18384dd
parent1446ded3208b934120abe36c76b04a685a72a499
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