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

Ajit Khaparde ajit.khaparde at broadcom.com
Wed Jan 12 03:03:53 CET 2022


On Tue, Nov 30, 2021 at 6:42 AM Lance Richardson
<lance.richardson at broadcom.com> 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 xstats_names
> array.
>
> Update bnxt_dev_xstats_get_names_op() in accordance with this
> requirement.
>
> Fixes: bfb9c2260be2 ("net/bnxt: support xstats get/reset")
> Cc: stable at dpdk.org
> Signed-off-by: Lance Richardson <lance.richardson at broadcom.com>

ACK
Patch applied to dpdk-next-net-brcm.

>


More information about the stable mailing list