net/mlx5: fix build on Windows
authorGregory Etelson <getelson@nvidia.com>
Thu, 5 Aug 2021 09:55:03 +0000 (12:55 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 5 Aug 2021 10:48:16 +0000 (12:48 +0200)
commit8f6c921b6a654fe98e615e1a9c46d671ad9d436a
tree2fc7087279311eb6affe7c2ca5dd474d3540273b
parentc97a84925266437d6fa4a22617c466335f1e3dd7
net/mlx5: fix build on Windows

mlx5_dev_check_sibling_config() API was updated to allow newly
spawned port locate existing sibling devices.
PMD port initialization for Windows OS was not updated
for the new API prototype:

drivers/net/mlx5/windows/mlx5_os.c:457:50: error:
too few arguments to function call, expected 3, have 2
err = mlx5_dev_check_sibling_config(priv, config);

The patch fixes mlx5_dev_check_sibling_config call for Windows OS.

Fixes: e9d420dfc2d0 ("net/mlx5: fix find sibling devices")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/windows/mlx5_os.c