[PATCH] net/ice: fix statistics
Zhang, Qi Z
qi.z.zhang at intel.com
Mon May 15 03:19:40 CEST 2023
> -----Original Message-----
> From: Ye, MingjinX <mingjinx.ye at intel.com>
> Sent: Thursday, May 11, 2023 10:11 AM
> To: dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; stable at dpdk.org; Zhou, YidingX
> <yidingx.zhou at intel.com>; Ye, MingjinX <mingjinx.ye at intel.com>; Zhang, Qi
> Z <qi.z.zhang at intel.com>
> Subject: [PATCH] net/ice: fix statistics
>
> When the stats_get api is called for the first time in pmd, the offset of the
> stats register is not recorded. That results in all the obtained count values
> being 0.
>
> This patch adds reset statistics before dev_init returning. That avoids some
> noise being counted.
>
> Fixes: 12443386a0b0 ("net/ice: support flex Rx descriptor RxDID22")
> Cc: stable at dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the stable
mailing list