summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAviad Yehezkel2018-01-17 10:20:33 +0100
committerSaeed Mahameed2018-03-08 00:54:34 +0100
commitaf9fe19d660e333ca9b0a6e1506e684a1126b9e7 (patch)
tree6de0cfc62a0aa7b2e7f56d47cf03a4a403a2d63e /include/linux
parentnet/mlx5: Export ipsec capabilities (diff)
downloadkernel-qcow2-linux-af9fe19d660e333ca9b0a6e1506e684a1126b9e7.tar.gz
kernel-qcow2-linux-af9fe19d660e333ca9b0a6e1506e684a1126b9e7.tar.xz
kernel-qcow2-linux-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 'include/linux')
-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,