numam-dpdk/drivers
Shahaf Shuler e62bc9e706 net/mlx5: fix extended statistics
The number of extended statistics counters is queried through ETHTOOL.
ETHTOOL provides a different number when the link is up or down.
Since extended statistics query occurs at device start,
segmentation fault might happen when changing the link state before and
after the device start.

this commit address this issue, and query the number of statistics
before every call to ETHTOOL.

Fixes: a4193ae3bc ("net/mlx5: support extended statistics")
Cc: stable@dpdk.org

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-04-04 15:52:50 +02:00
..
crypto ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
mempool mempool: move stack handler as a driver 2017-04-03 19:45:45 +02:00
net net/mlx5: fix extended statistics 2017-04-04 15:52:50 +02:00
Makefile mempool: move ring handler as a driver 2017-04-03 19:45:45 +02:00