d853d24b27
Many user (e.g. telemetry) invokes rte_eth_xstats_get(port_id, NULL, 0)
to retrieve the required number of elements, but currently mvpp2 PMD
returns zero when xstats is null.
Remove the logic of "return zero when xstats is NULL", and add the logic
of "return the required number of entries when n is lower than the
required number of entries".
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
mrvl_ethdev.c | ||
mrvl_ethdev.h | ||
mrvl_flow.c | ||
mrvl_flow.h | ||
mrvl_mtr.c | ||
mrvl_mtr.h | ||
mrvl_qos.c | ||
mrvl_qos.h | ||
mrvl_tm.c | ||
mrvl_tm.h | ||
version.map |