History

net/mlx5: Remove not-implemented IPsec capabilities

Clean a capabilities enum to remove not-implemented bits.

Leon Romanovsky committed 4 years ago

Commit 29842871 parent f2b41b32 files · +5 −10Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/mlx5/accel.h+4−7
@@ -113,13 +113,10 @@ struct mlx5_accel_esp_xfrm { · 112 unmodified lines
113113
114114 enum mlx5_accel_ipsec_cap {
115115 MLX5_ACCEL_IPSEC_CAP_DEVICE = 1 << 0,
116− MLX5_ACCEL_IPSEC_CAP_REQUIRED_METADATA = 1 << 1,
117− MLX5_ACCEL_IPSEC_CAP_ESP = 1 << 2,
118− MLX5_ACCEL_IPSEC_CAP_IPV6 = 1 << 3,
119− MLX5_ACCEL_IPSEC_CAP_LSO = 1 << 4,
120− MLX5_ACCEL_IPSEC_CAP_RX_NO_TRAILER = 1 << 5,
121− MLX5_ACCEL_IPSEC_CAP_ESN = 1 << 6,
122− MLX5_ACCEL_IPSEC_CAP_TX_IV_IS_ESN = 1 << 7,
116+ MLX5_ACCEL_IPSEC_CAP_ESP = 1 << 1,
117+ MLX5_ACCEL_IPSEC_CAP_IPV6 = 1 << 2,
118+ MLX5_ACCEL_IPSEC_CAP_LSO = 1 << 3,
119+ MLX5_ACCEL_IPSEC_CAP_ESN = 1 << 4,
123120 };
124121
125122 #ifdef CONFIG_MLX5_EN_IPSEC