OSDN Git Service

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)
commit188f0f988bdf27a94208568314e3b0c012d1629c
treef13b5c3621eed6a2d457851e30a6b538987a8bb0
parent9205d7b1c1cffa827c23bdbf35e04c7cbe1e1f10
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: 328edb499f99 ("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