net/mlx5: HWS, Rearrange to prevent forward declaration
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Thu, 3 Jul 2025 18:54:29 +0000 (21:54 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 02:12:17 +0000 (19:12 -0700)
commit29063103f864fb63f7f7c436e670c5804df1b55b
tree25711c42a830793b4266a7217f683d661d212d76
parent6b44fffdc7b792e1d32b104c76504c3722e9704f
net/mlx5: HWS, Rearrange to prevent forward declaration

As a preparation for the following patch that will add support
for shrinking empty matchers, rearrange the code to prevent
forward declaration of functions.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250703185431.445571-9-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c