aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2021-08-18 20:18:57 +0800
committerSaeed Mahameed <saeedm@nvidia.com>2021-08-19 21:50:36 -0700
commitbcd6740c6b6ddd301b0998a758063118b3bc2d4e (patch)
treece9a126b62913ff4750046195076bae108edd19a /drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
parentnet/mlx5e: Move esw/sample to en/tc/sample (diff)
downloadlinux-dev-bcd6740c6b6ddd301b0998a758063118b3bc2d4e.tar.xz
linux-dev-bcd6740c6b6ddd301b0998a758063118b3bc2d4e.zip
net/mlx5e: Move sample attribute to flow attribute
Currently it is in eswitch attribute. Move it to flow attribute to reflect the change in previous patch. Signed-off-by: Chris Mi <cmi@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_tc.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en_tc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
index f7cbeb0b66d2..1a4cd882f0fb 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.h
@@ -70,6 +70,7 @@ struct mlx5_flow_attr {
struct mlx5_fc *counter;
struct mlx5_modify_hdr *modify_hdr;
struct mlx5_ct_attr ct_attr;
+ struct mlx5e_sample_attr *sample_attr;
struct mlx5e_tc_flow_parse_attr *parse_attr;
u32 chain;
u16 prio;