diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2018-04-30 10:16:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-01 09:42:47 -0400 |
commit | bb9094161b2320e431a5d8a7b9c3dc632bc92ae6 (patch) | |
tree | b162c8f722f14e97dec97c1a620b949de2e51db7 /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h | |
parent | e8f69799810c32dd40c6724d829eccc70baad07f (diff) | |
download | linux-stable-bb9094161b2320e431a5d8a7b9c3dc632bc92ae6.tar.gz linux-stable-bb9094161b2320e431a5d8a7b9c3dc632bc92ae6.tar.bz2 linux-stable-bb9094161b2320e431a5d8a7b9c3dc632bc92ae6.zip |
net/mlx5e: Move defines out of ipsec code
The defines are not IPSEC specific.
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h index 1198fc1eba4c..93bf10e6508c 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h @@ -45,9 +45,6 @@ #define MLX5E_IPSEC_SADB_RX_BITS 10 #define MLX5E_IPSEC_ESN_SCOPE_MID 0x80000000L -#define MLX5E_METADATA_ETHER_TYPE (0x8CE4) -#define MLX5E_METADATA_ETHER_LEN 8 - struct mlx5e_priv; struct mlx5e_ipsec_sw_stats { |