Thierry Herbelot
25b73ba6f3
net/mlx5: cleanup allocation of ethtool stats
...
Simplify the computation for the needed size:
- exact size for the structure header,
- exact size for a number of 64-bit counters.
Fixes: a4193ae3bc4f ("net/mlx5: support extended statistics")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2018-01-16 18:47:49 +01:00
..
2017-11-07 16:54:07 +01:00
2017-11-10 09:17:13 +00:00
2017-11-06 22:44:26 +01:00
2018-01-05 22:07:03 +01:00
2018-01-11 18:26:46 +01:00
2018-01-04 22:41:39 +01:00
2017-11-06 22:44:26 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-11 18:26:46 +01:00
2017-11-06 22:44:26 +01:00
2017-11-02 19:32:04 +01:00
2017-11-07 16:54:07 +01:00
2018-01-11 18:26:46 +01:00
2018-01-12 17:27:07 +01:00
2018-01-12 17:27:08 +01:00
2018-01-04 22:41:39 +01:00
2018-01-16 18:47:49 +01:00
2017-11-11 15:54:16 +01:00
2018-01-16 18:47:49 +01:00
2017-11-07 16:54:07 +01:00
2018-01-04 22:41:39 +01:00
2017-11-07 16:54:07 +01:00
2018-01-09 16:19:01 +01:00
2017-11-07 16:54:07 +01:00
2018-01-11 18:26:46 +01:00
2018-01-04 22:41:39 +01:00
2018-01-16 18:47:49 +01:00
2018-01-04 22:41:39 +01:00
2017-11-10 09:17:13 +00:00
2018-01-04 22:41:39 +01:00
2018-01-09 16:19:01 +01:00
2018-01-04 22:41:39 +01:00
2018-01-09 16:19:01 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00