Skip to content

Commit ee42974

Browse files
YueHaibingdavem330
authored andcommitted
team: Always enable vlan tx offload
We should rather have vlan_tci filled all the way down to the transmitting netdevice and let it do the hw/sw vlan implementation. Suggested-by: Jiri Pirko <[email protected]> Signed-off-by: YueHaibing <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8a53058 commit ee42974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/team/team.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,12 +2128,12 @@ static void team_setup(struct net_device *dev)
21282128
dev->features |= NETIF_F_NETNS_LOCAL;
21292129

21302130
dev->hw_features = TEAM_VLAN_FEATURES |
2131-
NETIF_F_HW_VLAN_CTAG_TX |
21322131
NETIF_F_HW_VLAN_CTAG_RX |
21332132
NETIF_F_HW_VLAN_CTAG_FILTER;
21342133

21352134
dev->hw_features |= NETIF_F_GSO_ENCAP_ALL | NETIF_F_GSO_UDP_L4;
21362135
dev->features |= dev->hw_features;
2136+
dev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
21372137
}
21382138

21392139
static int team_newlink(struct net *src_net, struct net_device *dev,

0 commit comments

Comments
 (0)