diff options
author | Patrick McHardy <kaber@trash.net> | 2013-04-18 22:04:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-19 14:46:06 -0400 |
commit | 28d2b136ca6c7bf7173a43a90f747ecda5b0520d (patch) | |
tree | 9e3d6af491b1a01b077b927e51d513134e67e1a5 /drivers/net/veth.c | |
parent | 8ad227ff89a7e6f05d07cd0acfd95ed3a24450ca (diff) |
net: vlan: announce STAG offload capability in some drivers
- macvlan: propagate STAG filtering capabilities from underlying device
- ifb: announce STAG tagging support in addition to CTAG tagging support
- veth: announce STAG tagging/stripping support in addition to CTAG support
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r-- | drivers/net/veth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index f116c593d879..177f911f5946 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c | |||
@@ -255,7 +255,8 @@ static const struct net_device_ops veth_netdev_ops = { | |||
255 | 255 | ||
256 | #define VETH_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ | 256 | #define VETH_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ |
257 | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_HIGHDMA | \ | 257 | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_HIGHDMA | \ |
258 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX) | 258 | NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX | \ |
259 | NETIF_F_HW_VLAN_STAG_TX | NETIF_F_HW_VLAN_STAG_RX ) | ||
259 | 260 | ||
260 | static void veth_setup(struct net_device *dev) | 261 | static void veth_setup(struct net_device *dev) |
261 | { | 262 | { |