aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2021-04-19 16:23:49 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-06-26 00:31:15 -0700
commit1ab6dc35e9148e3cb4a837fdd08f1ca56b55eda0 (patch)
tree846ad6753f76705e3107b24ab0bc179876f0a8bc /include/linux/mlx5
parentnet/mlx5: Compare sampler flow destination ID in fs_core (diff)
downloadlinux-dev-1ab6dc35e9148e3cb4a837fdd08f1ca56b55eda0.tar.xz
linux-dev-1ab6dc35e9148e3cb4a837fdd08f1ca56b55eda0.zip
net/mlx5: DR, Add support for flow sampler offload
Add SW steering support for sFlow / flow sampler action. Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 2d1ed78289ff..e32a0d61929b 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -11083,6 +11083,11 @@ struct mlx5_ifc_create_sampler_obj_in_bits {
struct mlx5_ifc_sampler_obj_bits sampler_object;
};
+struct mlx5_ifc_query_sampler_obj_out_bits {
+ struct mlx5_ifc_general_obj_out_cmd_hdr_bits general_obj_out_cmd_hdr;
+ struct mlx5_ifc_sampler_obj_bits sampler_object;
+};
+
enum {
MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_KEY_SIZE_128 = 0x0,
MLX5_GENERAL_OBJECT_TYPE_ENCRYPTION_KEY_KEY_SIZE_256 = 0x1,