> -----Original Message-----
> From: Kaiwen Deng <[email protected]>
> Sent: Tuesday, May 20, 2025 9:13 AM
> To: [email protected]
> Cc: [email protected]; Deng, KaiwenX <[email protected]>; Burakov,
> Anatoly <[email protected]>; Medvedkin, Vladimir
> <[email protected]>; Tiwei Bie <[email protected]>; Wenzhuo
> Lu <[email protected]>
> Subject: [PATCH] net/intel: fix ixgbe get macsec stats
> 
> The ixgbe macsec registers are not cleared on read. Reading the registers and
> then accumulating the values will cause macsec stats errors. Each time the
> data is queried via the testpmd command “show port stats xstats all”, the
> macsec statistics are increased.
> 
> This commit will add macsec offset stats to record initial data and update
> macsec stats based on offset stats.
> 
> Fixes: b35d309710fe ("net/ixgbe: add MACsec offload")
> Cc: [email protected]
> 
> Signed-off-by: Kaiwen Deng <[email protected]>
> ---
Tested-by: Xu, HailinX <[email protected]>

Reply via email to