aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/accel.h
diff options
context:
space:
mode:
authorAviad Yehezkel <aviadye@mellanox.com>2018-01-17 11:20:33 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-07 15:54:34 -0800
commitaf9fe19d660e333ca9b0a6e1506e684a1126b9e7 (patch)
tree6de0cfc62a0aa7b2e7f56d47cf03a4a403a2d63e /include/linux/mlx5/accel.h
parentnet/mlx5: Export ipsec capabilities (diff)
downloadlinux-dev-af9fe19d660e333ca9b0a6e1506e684a1126b9e7.tar.xz
linux-dev-af9fe19d660e333ca9b0a6e1506e684a1126b9e7.zip
net/mlx5: Added required metadata capability for ipsec
Currently our device requires additional metadata in packet to perform ipsec crypto offload. Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r--include/linux/mlx5/accel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/accel.h b/include/linux/mlx5/accel.h
index 601280c782d3..b674af63689b 100644
--- a/include/linux/mlx5/accel.h
+++ b/include/linux/mlx5/accel.h
@@ -38,6 +38,7 @@
enum mlx5_accel_ipsec_caps {
MLX5_ACCEL_IPSEC_CAP_DEVICE = 1 << 0,
+ MLX5_ACCEL_IPSEC_CAP_REQUIRED_METADATA = 1 << 1,
MLX5_ACCEL_IPSEC_CAP_ESP = 1 << 2,
MLX5_ACCEL_IPSEC_CAP_IPV6 = 1 << 3,
MLX5_ACCEL_IPSEC_CAP_LSO = 1 << 4,