[PATCH v4 0/9] bugfix for ethdev telemetry
Chengwen Feng
fengchengwen at huawei.com
Fri May 13 04:53:48 CEST 2022
This patch set contains nine bugfix for ethdev telemetry.
Chengwen Feng (9):
ethdev: specify return value of xstats-get API
ethdev: optimize xstats-get API's implementation
net/hns3: adjust return value of xstats-get ops
net/ipn3ke: adjust return value of xstats-get ops
net/mvpp2: adjust return value of xstats-get ops
net/axgbe: adjust return value of xstats-get ops
ethdev: fix memory leak when telemetry xstats
ethdev: fix possible null pointer access
net/cnxk: fix telemetry possible null pointer access
---
v4:
* refine the return value definitions of rte_eth_xstats_get() and
the implementation of related drivers is corrected.
* drop auto-filled flag patch.
v3:
* refine the descriptor of return value when xstats is null of
rte_eth_xstats_get().
* add patch for optimize xstats-get API's implementation.
v2:
* define return value when xstats is null of get xstats.
* fix more bugs when deepin ethdev telemetry.
drivers/net/axgbe/axgbe_ethdev.c | 8 ++++----
drivers/net/cnxk/cnxk_ethdev_telemetry.c | 2 ++
drivers/net/hns3/hns3_stats.c | 9 +++++----
drivers/net/ipn3ke/ipn3ke_representor.c | 3 ---
drivers/net/mvpp2/mrvl_ethdev.c | 11 ++++++-----
lib/ethdev/rte_ethdev.c | 18 ++++++++----------
lib/ethdev/rte_ethdev.h | 6 +++++-
7 files changed, 30 insertions(+), 27 deletions(-)
--
2.33.0
More information about the dev
mailing list