net/mlx5: Add modify FTE helper function
authorEli Britstein <elibr@mellanox.com>
Tue, 8 Jan 2019 07:29:22 +0000 (09:29 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 11 Mar 2019 18:32:39 +0000 (11:32 -0700)
commite7aafc8f048050c7f1274db2ff0db60b0cc95700
tree9072d4fd3c2721f0d864c3fdeb6351904c2fe649
parent6237634d8fcc65c9e3348382910e7cdb15084c68
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>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h