diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2021-04-19 15:23:49 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-26 09:31:15 +0200 |
commit | 1ab6dc35e9148e3cb4a837fdd08f1ca56b55eda0 (patch) | |
tree | 846ad6753f76705e3107b24ab0bc179876f0a8bc /include | |
parent | net/mlx5: Compare sampler flow destination ID in fs_core (diff) | |
download | linux-1ab6dc35e9148e3cb4a837fdd08f1ca56b55eda0.tar.xz linux-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')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 5 |
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, |