> -----Original Message-----
> From: Ye, MingjinX <[email protected]>
> Sent: Thursday, May 11, 2023 10:11 AM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; [email protected]; Zhou, YidingX
> <[email protected]>; Ye, MingjinX <[email protected]>; Zhang, Qi
> Z <[email protected]>
> 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: [email protected]
>
> Signed-off-by: Mingjin Ye <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi