e17cb41db7
Many user (e.g. telemetry) invokes rte_eth_xstats_get(port_id, NULL, 0)
to retrieve the required number of elements, but currently ipn3ke PMD
returns zero when xstats is null.
Dedicated check for xstats vs null is not required, since ethdev layer
guarantees that it may be null only if number of entries n is 0 (which
is definitely smaller than total xstats count).
Fixes:
|
||
---|---|---|
.. | ||
ipn3ke_ethdev.c | ||
ipn3ke_ethdev.h | ||
ipn3ke_flow.c | ||
ipn3ke_flow.h | ||
ipn3ke_logs.h | ||
ipn3ke_rawdev_api.h | ||
ipn3ke_representor.c | ||
ipn3ke_tm.c | ||
meson.build | ||
version.map |