net/mlx5: Flow steering cmd interface should get the fte when deleting
authorAviad Yehezkel <aviadye@mellanox.com>
Sun, 18 Feb 2018 13:00:54 +0000 (15:00 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 06:20:15 +0000 (22:20 -0800)
commite810bf5e96e327500cc6334f9d56c8047aaabcff
treea260a9ac581645cd4d455e8c2e7dda8924aef13c
parent3346c4873733a109bea29467308a754038b886a9
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>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c