The recent bug report about the txgbe driver motivated looking at inconsistencies in drivers handling of xstats_get callback. All drivers should treat call the same.
This is RFC since I don't have access to any of this hardware to test. Stephen Hemminger (5): net/txgbe: fix query handling in xstats_get net/ngbe: fix query handling in xstats_get net/atlantic: fix handling of xstats_get net/octeontx: fix handling of xstats_get net/sfc: fix handling of xstats_get queries drivers/net/atlantic/atl_ethdev.c | 2 +- drivers/net/ngbe/ngbe_ethdev.c | 11 ++++------- drivers/net/octeontx/octeontx_ethdev.c | 3 +++ drivers/net/sfc/sfc_ethdev.c | 7 ++++--- drivers/net/txgbe/txgbe_ethdev.c | 12 +++--------- 5 files changed, 15 insertions(+), 20 deletions(-) -- 2.45.2