bdd478eede
rte_stats_bitrate_calc() API states it returns 'Negative value on error'.
However, the implementation will return the error code from
rte_eth_stats_get() which may be non-zero on error.
Change the implementation of rte_stats_bitrate_calc() to match
the API description by always returning a negative value on error.
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
rte_bitrate.c | ||
rte_bitrate.h | ||
version.map |