ethdev: do not use get xstats names by IDs to obtain count
authorAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Fri, 1 Oct 2021 09:07:20 +0000 (12:07 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 6 Oct 2021 11:07:11 +0000 (13:07 +0200)
commit113778be13534832f5f1f4a57c4425ff8d36fad0
tree8fce55c33b9acdaa8dff661aff9ae1d00407c9eb
parentbc5112ca599c1e565c0f2d3dc3de0f73381a8c05
ethdev: do not use get xstats names by IDs to obtain count

Relax requirements on get xstats names by IDs. After the patch
corresponding the driver operation is called with non-NULL ids
and xstats_names parameters only.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/ethdev/rte_ethdev.c