]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Avoid eswitch header inclusion in fs core layer
authorParav Pandit <parav@mellanox.com>
Fri, 26 Jun 2020 05:59:42 +0000 (22:59 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 27 Jun 2020 20:50:46 +0000 (13:50 -0700)
commit54eb6c370f6d2342bbd8b30eb569aa5465aee5f6
treef13b5c3621eed6a2d457851e30a6b538987a8bb0
parenta6a7e3d8ad02d5358a3e3ece310a81d77b59c2bd
net/mlx5: Avoid eswitch header inclusion in fs core layer

Flow steering core layer is independent of the eswitch layer.
Hence avoid fs_core dependency on eswitch.

Fixes: fc6043b9c888 ("net/mlx5: Split FDB fast path prio to multiple namespaces")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h