[PATCH v3] net/ice: fix statistics read error

Bruce Richardson bruce.richardson at intel.com
Thu Nov 13 09:42:55 CET 2025


On Thu, Nov 13, 2025 at 03:47:10PM +0800, Zhichao Zeng wrote:
> The statistics contain 40 bits. The lower 32 bits are read first, followed
> by the upper 8 bits.
> 
> In some cases, after reading the lower 32 bits, a carry occurs from
> the lower bits, which causes the final statistics to be incorrect.
> 
> This commit fixes this issue.
> 
> Fixes: a37bde56314d ("net/ice: support statistics")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Zhichao Zeng <zhichaox.zeng at intel.com>
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list