]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit712e0144fc3ad7f88f5f3532917c9fa121ce7a04
treea260a9ac581645cd4d455e8c2e7dda8924aef13c
parentbce41336f254ecfd5c15646068c64708a9e3e08e
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