Re: [PATCH] net/bnxt: fix xstats get names implementation

2022-01-11 Thread Ajit Khaparde
On Tue, Nov 30, 2021 at 6:42 AM Lance Richardson wrote: > > When the xstats_names parameter to rte_eth_xstats_get_names() > is non-NULL and the size parameter is less than the required > number of entries, the driver must return the required size > without modifying (and over-running) the caller's

[PATCH] net/bnxt: fix xstats get names implementation

2021-11-30 Thread Lance Richardson
When the xstats_names parameter to rte_eth_xstats_get_names() is non-NULL and the size parameter is less than the required number of entries, the driver must return the required size without modifying (and over-running) the caller's xstats_names array. Update bnxt_dev_xstats_get_names_op() in acco