summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorAchiad Shochat2015-07-23 22:36:01 +0200
committerDavid S. Miller2015-07-27 09:29:17 +0200
commita741749f214afd05402aeed0ecdca90eeaffc303 (patch)
treebbce6a1b99617586e10dbc3aa2738278f8b9b881 /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentnet/mlx5e: Cosmetics: use BIT() instead of "1 <<", and others (diff)
downloadkernel-qcow2-linux-a741749f214afd05402aeed0ecdca90eeaffc303.tar.gz
kernel-qcow2-linux-a741749f214afd05402aeed0ecdca90eeaffc303.tar.xz
kernel-qcow2-linux-a741749f214afd05402aeed0ecdca90eeaffc303.zip
net/mlx5e: Input IPSEC.SPI into the RX RSS hash function
In addition to the source/destination IP which are already hashed. Only for unicast traffic for now. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index 39294f2fbaac..b710e9bade38 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -334,6 +334,10 @@ enum mlx5e_traffic_types {
MLX5E_TT_IPV6_TCP,
MLX5E_TT_IPV4_UDP,
MLX5E_TT_IPV6_UDP,
+ MLX5E_TT_IPV4_IPSEC_AH,
+ MLX5E_TT_IPV6_IPSEC_AH,
+ MLX5E_TT_IPV4_IPSEC_ESP,
+ MLX5E_TT_IPV6_IPSEC_ESP,
MLX5E_TT_IPV4,
MLX5E_TT_IPV6,
MLX5E_TT_ANY,