net/mlx5e: Decouple fs_tt_redirect from en.h
authorLama Kayal <lkayal@nvidia.com>
Tue, 25 Jan 2022 16:04:55 +0000 (18:04 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 23 Aug 2022 05:44:21 +0000 (22:44 -0700)
commit4e0ecc17a74ed41b8378d9515d4555cb7f3c0794
treed1d0a606995468156fc62cbec9a758af540d20ec
parentf52f2faee581562032be32318b402ea53f2240e1
net/mlx5e: Decouple fs_tt_redirect from en.h

Make flow steering files fs_tt_redirect.c/h independent of en.h
such that it goes through the flow steering API only.

Make error reports be via mlx5_core API instead of netdev_err API, this
to ensure a safe decoupling from en.h, and prevent redundant argument
passing.

Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.h
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c