RE: [PATCH] net/intel: fix ixgbe get macsec stats

2025-05-20 Thread Xu, HailinX
> -Original Message- > From: Kaiwen Deng > Sent: Tuesday, May 20, 2025 9:13 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Deng, KaiwenX ; Burakov, > Anatoly ; Medvedkin, Vladimir > ; Tiwei Bie ; Wenzhuo > Lu > Subject: [PATCH] net/intel: fix ixgbe get macsec

[PATCH] net/intel: fix ixgbe get macsec stats

2025-05-19 Thread Kaiwen Deng
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 sta