summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-03-29 18:47:27 +0400
committerDavid S. Miller <davem@davemloft.net>2010-03-31 10:51:08 +0400
commitb00fabb4020d17bda4bea59507e09fadf573088d (patch)
treedb746ff4c223cc5ba98927d9f9421285952c7231 /include/linux/netdevice.h
parent757b77e2b208490868cf21fd22d796eb9bd199c5 (diff)
downloadlinux-b00fabb4020d17bda4bea59507e09fadf573088d.tar.xz
netdev: ethtool RXHASH flag
This adds ethtool and device feature flag to allow control of receive hashing offload. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 53c272f2a734..b5670ab5107c 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -785,6 +785,7 @@ struct net_device {
#define NETIF_F_SCTP_CSUM (1 << 25) /* SCTP checksum offload */
#define NETIF_F_FCOE_MTU (1 << 26) /* Supports max FCoE MTU, 2158 bytes*/
#define NETIF_F_NTUPLE (1 << 27) /* N-tuple filters supported */
+#define NETIF_F_RXHASH (1 << 28) /* Receive hashing offload */
/* Segmentation offload features */
#define NETIF_F_GSO_SHIFT 16