net/mlx5: fix indexed pools allocation on Windows
authorSuanming Mou <suanmingm@nvidia.com>
Thu, 22 Jul 2021 06:59:40 +0000 (09:59 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 22 Jul 2021 14:16:29 +0000 (16:16 +0200)
commit89a4bcb1fc7cacc76349013217d496711241e0f3
treeb6fc1d5e8d51ee2d117b648ea1fa243c5964e698
parentb7c8ea62d00f02c206ec2aded5581c2e0f01c377
net/mlx5: fix indexed pools allocation on Windows

Currently, the flow indexed pools are allocated per port,
the allocation was missing in Windows code.

Allocate indexed pool for the Windows case too.

Fixes: b4edeaf3efd5 ("net/mlx5: replace flow list with indexed pool")

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Tested-by: Odi Assli <odia@nvidia.com>
drivers/net/mlx5/windows/mlx5_os.c