summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
diff options
context:
space:
mode:
authorAviad Yehezkel <aviadye@mellanox.com>2018-02-18 15:00:54 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-06 22:20:15 -0800
commite810bf5e96e327500cc6334f9d56c8047aaabcff (patch)
treea260a9ac581645cd4d455e8c2e7dda8924aef13c /drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
parent3346c4873733a109bea29467308a754038b886a9 (diff)
net/mlx5: Flow steering cmd interface should get the fte when deleting
Previously, deleting a flow steering entry only got the index. Since the FPGA implementation of FTE's deletion might need to dig inside the FTE itself, we would like to get the FTE's context. Changing the interface to pass the FTE context. Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com> Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
index 81c82f48d93e..6228ba7bfa1a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
@@ -72,7 +72,7 @@ struct mlx5_flow_cmds {
int (*delete_fte)(struct mlx5_core_dev *dev,
struct mlx5_flow_table *ft,
- unsigned int index);
+ struct fs_fte *fte);
int (*update_root_ft)(struct mlx5_core_dev *dev,
struct mlx5_flow_table *ft,