net/mlx5e: Refactor tc del flow to accept mlx5e_tc_flow instance
authorRoi Dayan <roid@mellanox.com>
Wed, 30 Nov 2016 15:59:42 +0000 (17:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 15:47:02 +0000 (10:47 -0500)
commit961e8979ec3578ef4c441b69a5b7b9febc89fd18
tree79a254f9efc8567d2bd0502802adfae33e35a44a
parent86a33ae1ca06a58629c4d0d80ac6d099ff932ae0
net/mlx5e: Refactor tc del flow to accept mlx5e_tc_flow instance

Change the function that deletes offloaded TC rule to get
struct mlx5e_tc_flow instance which contains both the flow
handle and flow attributes. This is a cleanup needed for
downstream patches, it doesn't change any functionality.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c