projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b599d
)
bridge: Add 802.1ad tx vlan acceleration
author
Toshiaki Makita
<
[email protected]
>
Tue, 10 Jun 2014 11:59:22 +0000
(20:59 +0900)
committer
David S. Miller
<
[email protected]
>
Wed, 11 Jun 2014 22:22:53 +0000
(15:22 -0700)
Bridge device doesn't need to embed S-tag into skb->data.
Signed-off-by: Toshiaki Makita <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/bridge/br_device.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index d77e2f0ff0e9d5d9644a3f4df02446be6fea15cb..82a410a5ef7ebd9c57fbecc79e8066b3355eb50e 100644
(file)
--- a/
net/bridge/br_device.c
+++ b/
net/bridge/br_device.c
@@
-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;