aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ethtool.h
diff options
context:
space:
mode:
authorSandeep Gopalpet <Sandeep.Kumar@freescale.com>2009-11-02 02:03:40 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-03 02:40:59 -0500
commit7a8b3372e29ff58ebdf94def26703afabd287f11 (patch)
tree7d4ae47bb2ddc7de481fb4da4a4f9f31e808e1bf /include/linux/ethtool.h
parent46ceb60ca80fa07703bc6eb8f4651f900dff5a82 (diff)
gianfar: Basic Support for programming hash rules
This patch provides basic hash rules programming via the ethtool interface. Signed-off-by: Sandeep Gopalpet <Sandeep.Kumar@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r--include/linux/ethtool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index eb1a48da2d43..edd03b79e8f8 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -674,6 +674,8 @@ struct ethtool_ops {
674#define AH_V6_FLOW 0x0b 674#define AH_V6_FLOW 0x0b
675#define ESP_V6_FLOW 0x0c 675#define ESP_V6_FLOW 0x0c
676#define IP_USER_FLOW 0x0d 676#define IP_USER_FLOW 0x0d
677#define IPV4_FLOW 0x10
678#define IPV6_FLOW 0x11
677 679
678/* L3-L4 network traffic flow hash options */ 680/* L3-L4 network traffic flow hash options */
679#define RXH_L2DA (1 << 1) 681#define RXH_L2DA (1 << 1)