mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
bridge: Add 802.1ad tx vlan acceleration
Bridge device doesn't need to embed S-tag into skb->data. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e7b599d7c1
commit
1c5abb6c77
@ -361,8 +361,9 @@ void br_dev_setup(struct net_device *dev)
|
||||
dev->priv_flags = IFF_EBRIDGE;
|
||||
|
||||
dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL |
|
||||
NETIF_F_HW_VLAN_CTAG_TX;
|
||||
dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX;
|
||||
NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
|
||||
dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX |
|
||||
NETIF_F_HW_VLAN_STAG_TX;
|
||||
dev->vlan_features = COMMON_FEATURES;
|
||||
|
||||
br->dev = dev;
|
||||
|
Loading…
Reference in New Issue
Block a user