]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Do not include vlan acceleration features in vlan_features
authorVlad Yasevich <vyasevic@redhat.com>
Mon, 24 Mar 2014 21:52:12 +0000 (17:52 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 19:55:10 +0000 (15:55 -0400)
commitfd01459c54ef78f25e0735ddf9625123b2d40ba3
tree395fd66c62e4689c3f27ac86f223f9363d039f97
parent5f72b27afbaff2315cf31f7ae5f450913ae71eb8
tg3: Do not include vlan acceleration features in vlan_features

Including hardware acceleration features in vlan_features breaks
stacked vlans (Q-in-Q) by marking the bottom vlan interface as
capable of acceleration.  This causes one of the tags to be lost
and the packets are sent with a sing vlan header.

CC: Nithin Nayak Sujir <nsujir@broadcom.com>
CC: Michael Chan <mchan@broadcom.com>
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c