aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2017-11-09 12:12:15 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-06 22:20:13 -0800
commitd2ec6a35e834f953790cfea8a4f8a1415d19a431 (patch)
tree21575676d9503aa6bf877b496ee9bf875516788c /drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
parentnet/mlx5: Add empty egress namespace to flow steering core (diff)
downloadlinux-dev-d2ec6a35e834f953790cfea8a4f8a1415d19a431.tar.xz
linux-dev-d2ec6a35e834f953790cfea8a4f8a1415d19a431.zip
net/mlx5: Embed mlx5_flow_act into fs_fte
fte objects contain the match value and action. Currently, extending the actions require in adding them both to the API and fs_fte. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/fs_core.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
index 8586af9ce514..e26d3e9d5f9f 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
@@ -176,11 +176,8 @@ struct fs_fte {
struct fs_node node;
u32 val[MLX5_ST_SZ_DW_MATCH_PARAM];
u32 dests_size;
- u32 flow_tag;
u32 index;
- u32 action;
- u32 encap_id;
- u32 modify_id;
+ struct mlx5_flow_act action;
enum fs_fte_status status;
struct mlx5_fc *counter;
struct rhash_head hash;