]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/intel/ixgbevf/defines.h
ixgbevf: Set Rx hash type for ingress packets
[karo-tx-linux.git] / drivers / net / ethernet / intel / ixgbevf / defines.h
index 770e21a643880a9032cdc5b1e6460075acfd7250..58434584b16d9034f762ba85c71ab8251642e66e 100644 (file)
@@ -161,6 +161,18 @@ typedef u32 ixgbe_link_speed;
 #define IXGBE_RXDADV_SPLITHEADER_EN    0x00001000
 #define IXGBE_RXDADV_SPH               0x8000
 
+/* RSS Hash results */
+#define IXGBE_RXDADV_RSSTYPE_NONE              0x00000000
+#define IXGBE_RXDADV_RSSTYPE_IPV4_TCP          0x00000001
+#define IXGBE_RXDADV_RSSTYPE_IPV4              0x00000002
+#define IXGBE_RXDADV_RSSTYPE_IPV6_TCP          0x00000003
+#define IXGBE_RXDADV_RSSTYPE_IPV6_EX           0x00000004
+#define IXGBE_RXDADV_RSSTYPE_IPV6              0x00000005
+#define IXGBE_RXDADV_RSSTYPE_IPV6_TCP_EX       0x00000006
+#define IXGBE_RXDADV_RSSTYPE_IPV4_UDP          0x00000007
+#define IXGBE_RXDADV_RSSTYPE_IPV6_UDP          0x00000008
+#define IXGBE_RXDADV_RSSTYPE_IPV6_UDP_EX       0x00000009
+
 #define IXGBE_RXD_ERR_FRAME_ERR_MASK ( \
                                      IXGBE_RXD_ERR_CE |  \
                                      IXGBE_RXD_ERR_LE |  \