diff options
author | Eli Britstein <elibr@mellanox.com> | 2019-01-08 09:29:22 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-03-11 11:32:39 -0700 |
commit | e7aafc8f048050c7f1274db2ff0db60b0cc95700 (patch) | |
tree | 9072d4fd3c2721f0d864c3fdeb6351904c2fe649 /drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | |
parent | net/mlx5: Fix multiple updates of steering rules in parallel (diff) | |
download | linux-dev-e7aafc8f048050c7f1274db2ff0db60b0cc95700.tar.xz linux-dev-e7aafc8f048050c7f1274db2ff0db60b0cc95700.zip |
net/mlx5: Add modify FTE helper function
Add modify FTE helper function and use it when deleting a rule, as a
pre-step towards consolidated FTE modification, with no functional
change.
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fs_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h index 2dc86347af58..87de0e4d9124 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h @@ -172,6 +172,7 @@ struct fs_fte { enum fs_fte_status status; struct mlx5_fc *counter; struct rhash_head hash; + int modify_mask; }; /* Type of children is mlx5_flow_table/namespace */ |