net/mlx5: support imissed counter on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Fri, 24 Dec 2021 06:46:46 +0000 (08:46 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 6 Jan 2022 09:07:59 +0000 (10:07 +0100)
commite50fe91ae329aa1b3ce499897378286353aaf262
treee82d843b91a386d546a9c801674f8d81e344dedf
parent985b479267aa90394f1c219de120d23e96761789
net/mlx5: support imissed counter on Windows

Add support for the imissed counter using the DevX API on Windows.

imissed is queried by creating a queue counter for the port, attaching
it to all created RQs and querying the "out_of_buffer" field.

If the counter cannot be created, imissed will always report 0.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/version.map
drivers/net/mlx5/windows/mlx5_ethdev_os.c
drivers/net/mlx5/windows/mlx5_os.c