]> 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)
commit9dc3db66fc2f691a219b3cb054d42d84701f3894
treed0c94a48c8d40a33a8ee77ea27226831f18384dd
parente5bb606a23c8a7930d4862c79eda4b5f6c4d438c
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