diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2014-06-10 07:59:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 18:22:53 -0400 |
commit | 1c5abb6c77a2e79537373143d2c1708e40b9f6ca (patch) | |
tree | f9e7dd2d3e84729b64f92acd8b1f29b760bbb13e /net/bridge/br_device.c | |
parent | e7b599d7c1dbdcdb9d4228ec9d3934c139592ba3 (diff) |
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>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r-- | net/bridge/br_device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index d77e2f0ff0e9..82a410a5ef7e 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c | |||
@@ -361,8 +361,9 @@ void br_dev_setup(struct net_device *dev) | |||
361 | dev->priv_flags = IFF_EBRIDGE; | 361 | dev->priv_flags = IFF_EBRIDGE; |
362 | 362 | ||
363 | dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL | | 363 | dev->features = COMMON_FEATURES | NETIF_F_LLTX | NETIF_F_NETNS_LOCAL | |
364 | NETIF_F_HW_VLAN_CTAG_TX; | 364 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX; |
365 | dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX; | 365 | dev->hw_features = COMMON_FEATURES | NETIF_F_HW_VLAN_CTAG_TX | |
366 | NETIF_F_HW_VLAN_STAG_TX; | ||
366 | dev->vlan_features = COMMON_FEATURES; | 367 | dev->vlan_features = COMMON_FEATURES; |
367 | 368 | ||
368 | br->dev = dev; | 369 | br->dev = dev; |