93041fd514
Many user (e.g. telemetry) invokes rte_eth_xstats_get(port_id, NULL, 0)
to retrieve the required number of elements, but currently axgbe 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:
|
||
---|---|---|
.. | ||
axgbe_common.h | ||
axgbe_dev.c | ||
axgbe_ethdev.c | ||
axgbe_ethdev.h | ||
axgbe_i2c.c | ||
axgbe_logs.h | ||
axgbe_mdio.c | ||
axgbe_phy_impl.c | ||
axgbe_phy.h | ||
axgbe_regs.h | ||
axgbe_rxtx_vec_sse.c | ||
axgbe_rxtx.c | ||
axgbe_rxtx.h | ||
meson.build | ||
version.map |