net/mlx5: rearrange probing functions for Windows
authorMichael Baum <michaelba@nvidia.com>
Tue, 19 Oct 2021 20:55:49 +0000 (23:55 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 21 Oct 2021 13:39:24 +0000 (15:39 +0200)
commit5021ce2085ef7052226dfc6e77a78c895caeccef
treeb37b4312494f22147dc2f882a448ec1674c39297
parent85209924039c4b317ba50018befff1f5ea66ba73
net/mlx5: rearrange probing functions for Windows

Rearrange device detection code.
Rearrange configuration structures filling.
Remove unneeded variables.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/windows/mlx5_os.c