]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45974075e82a2cca2e0abe7e3eb1d4f741523766
tree1e992604c3011ecf09c10dc3e4f7feee185d7975
parentfbda00f660c1ec8815d7397f1b4cf30ae48134ef
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