diff options
-rw-r--r-- | include/linux/ethtool.h | 2 | ||||
-rw-r--r-- | net/core/ethtool.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 8a3338ceb438..6628a507fd3b 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -309,6 +309,8 @@ struct ethtool_perm_addr { | |||
309 | * flag differs from the read-only value. | 309 | * flag differs from the read-only value. |
310 | */ | 310 | */ |
311 | enum ethtool_flags { | 311 | enum ethtool_flags { |
312 | ETH_FLAG_TXVLAN = (1 << 7), /* TX VLAN offload enabled */ | ||
313 | ETH_FLAG_RXVLAN = (1 << 8), /* RX VLAN offload enabled */ | ||
312 | ETH_FLAG_LRO = (1 << 15), /* LRO is enabled */ | 314 | ETH_FLAG_LRO = (1 << 15), /* LRO is enabled */ |
313 | ETH_FLAG_NTUPLE = (1 << 27), /* N-tuple filters enabled */ | 315 | ETH_FLAG_NTUPLE = (1 << 27), /* N-tuple filters enabled */ |
314 | ETH_FLAG_RXHASH = (1 << 28), | 316 | ETH_FLAG_RXHASH = (1 << 28), |
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 685c7005e87f..956a9f4971cb 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c | |||
@@ -132,7 +132,8 @@ EXPORT_SYMBOL(ethtool_op_set_ufo); | |||
132 | * NETIF_F_xxx values in include/linux/netdevice.h | 132 | * NETIF_F_xxx values in include/linux/netdevice.h |
133 | */ | 133 | */ |
134 | static const u32 flags_dup_features = | 134 | static const u32 flags_dup_features = |
135 | (ETH_FLAG_LRO | ETH_FLAG_NTUPLE | ETH_FLAG_RXHASH); | 135 | (ETH_FLAG_LRO | ETH_FLAG_RXVLAN | ETH_FLAG_TXVLAN | ETH_FLAG_NTUPLE | |
136 | ETH_FLAG_RXHASH); | ||
136 | 137 | ||
137 | u32 ethtool_op_get_flags(struct net_device *dev) | 138 | u32 ethtool_op_get_flags(struct net_device *dev) |
138 | { | 139 | { |