]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c29956f3420beb9ca1d758b6bf32ed83f14a12f
tree79a254f9efc8567d2bd0502802adfae33e35a44a
parent946fe153a940d9bb01ad9d740165031376706cdc
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