net/mlx5e: Avoid duplicated code for tc offloads add/del fdb rule
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 4 Sep 2018 16:12:10 +0000 (19:12 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 17 Oct 2018 21:18:50 +0000 (14:18 -0700)
commit6d2a3ed011e84287c634ec2b6e4a856ce95fd729
tree1e992604c3011ecf09c10dc3e4f7feee185d7975
parent42f7ad6760077e125eb7849c5499b7b77a54c2f3
net/mlx5e: Avoid duplicated code for tc offloads add/del fdb rule

The code for adding/deleting fdb flow is repeated when
user-space does flow add/del and when we add/del from
the neigh update path - unify them to avoid the duplication.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c