diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-09-16 07:34:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 19:53:23 -0400 |
commit | 07af7a2bfa853db3957a22f9a41f437bf0f10e63 (patch) | |
tree | e3e6235bf0b42dd8d60475c541de7475cf8a6065 /include/linux/ethtool.h | |
parent | be2902daee80b655cebd482b5ee91ffc29408121 (diff) |
ethtool: Add comments for valid use of flow types
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index 00334eebbe26..b67af60a8890 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -841,21 +841,21 @@ struct ethtool_ops { | |||
841 | #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ | 841 | #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ |
842 | 842 | ||
843 | /* L3-L4 network traffic flow types */ | 843 | /* L3-L4 network traffic flow types */ |
844 | #define TCP_V4_FLOW 0x01 | 844 | #define TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */ |
845 | #define UDP_V4_FLOW 0x02 | 845 | #define UDP_V4_FLOW 0x02 /* hash or spec (udp_ip4_spec) */ |
846 | #define SCTP_V4_FLOW 0x03 | 846 | #define SCTP_V4_FLOW 0x03 /* hash or spec (sctp_ip4_spec) */ |
847 | #define AH_ESP_V4_FLOW 0x04 | 847 | #define AH_ESP_V4_FLOW 0x04 /* hash only */ |
848 | #define TCP_V6_FLOW 0x05 | 848 | #define TCP_V6_FLOW 0x05 /* hash only */ |
849 | #define UDP_V6_FLOW 0x06 | 849 | #define UDP_V6_FLOW 0x06 /* hash only */ |
850 | #define SCTP_V6_FLOW 0x07 | 850 | #define SCTP_V6_FLOW 0x07 /* hash only */ |
851 | #define AH_ESP_V6_FLOW 0x08 | 851 | #define AH_ESP_V6_FLOW 0x08 /* hash only */ |
852 | #define AH_V4_FLOW 0x09 | 852 | #define AH_V4_FLOW 0x09 /* hash or spec (ah_ip4_spec) */ |
853 | #define ESP_V4_FLOW 0x0a | 853 | #define ESP_V4_FLOW 0x0a /* hash or spec (esp_ip4_spec) */ |
854 | #define AH_V6_FLOW 0x0b | 854 | #define AH_V6_FLOW 0x0b /* hash only */ |
855 | #define ESP_V6_FLOW 0x0c | 855 | #define ESP_V6_FLOW 0x0c /* hash only */ |
856 | #define IP_USER_FLOW 0x0d | 856 | #define IP_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */ |
857 | #define IPV4_FLOW 0x10 | 857 | #define IPV4_FLOW 0x10 /* hash only */ |
858 | #define IPV6_FLOW 0x11 | 858 | #define IPV6_FLOW 0x11 /* hash only */ |
859 | 859 | ||
860 | /* L3-L4 network traffic flow hash options */ | 860 | /* L3-L4 network traffic flow hash options */ |
861 | #define RXH_L2DA (1 << 1) | 861 | #define RXH_L2DA (1 << 1) |