net/mlx5/linux: fix missed Rx packet stats
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Wed, 28 Apr 2021 09:31:45 +0000 (12:31 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 9 May 2021 09:38:33 +0000 (11:38 +0200)
commit978a0303a3bf41598615a01392e6d4312101c3af
treef751ed52470985c4b9d491c9d3696b4a7b1dc848
parent31625e62882a4aae95a9dceead5854c9300a4532
net/mlx5/linux: fix missed Rx packet stats

There was a typo - the device context was wrongly provided
instead of counter's one for the DevX query operation.

Fixes: e6988afdc75a ("net/mlx5: fix imissed statistics")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c