diff options
| author | Chris Mi <cmi@nvidia.com> | 2020-11-20 15:03:25 -0800 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-11-26 18:43:47 -0800 |
| commit | 38730630880c6f47ad73dd90524ff52443b8bc48 (patch) | |
| tree | 1b8d48d42bd818ce082f92525ca66f1dcbd590b8 /include/linux/mlx5/fs.h | |
| parent | 2a2970891647fee7e7ea767425f895140faffaa8 (diff) | |
| download | linux-next-38730630880c6f47ad73dd90524ff52443b8bc48.tar.gz linux-next-38730630880c6f47ad73dd90524ff52443b8bc48.zip | |
net/mlx5: Add sampler destination type
The flow sampler object is a new destination type. Add a new member
for the flow destination.
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/fs.h')
| -rw-r--r-- | include/linux/mlx5/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h index 846d94ad04bc..35d2cc1646d3 100644 --- a/include/linux/mlx5/fs.h +++ b/include/linux/mlx5/fs.h @@ -132,6 +132,7 @@ struct mlx5_flow_destination { struct mlx5_pkt_reformat *pkt_reformat; u8 flags; } vport; + u32 sampler_id; }; }; |
