summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-02-15 16:59:16 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-17 14:16:32 -0800
commit212b573f5552c60265da721ff9ce32e3462a2cdd (patch)
treeb930a91d4d9c84414eca6e13d67bd5dba7c3c1e0 /include/linux/netdevice.h
parent9a279ea3a77ebcc91b68f0546e7cfa5018a12513 (diff)
downloadlwn-212b573f5552c60265da721ff9ce32e3462a2cdd.tar.gz
lwn-212b573f5552c60265da721ff9ce32e3462a2cdd.zip
ethtool: enable GSO and GRO by default
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index d08ef6538579..168e3ad14daf 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -984,6 +984,9 @@ struct net_device {
NETIF_F_SG | NETIF_F_HIGHDMA | \
NETIF_F_FRAGLIST)
+ /* changeable features with no special hardware requirements */
+#define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO)
+
/* Interface index. Unique device identifier */
int ifindex;
int iflink;