octeontx2-af: RPM: fix stale RSFEC counters

The earlier patch sets the 'Stats control register' for RPM
receive/transmit statistics instead of RSFEC statistics,
causing the driver to return stale FEC counters.

Fixes: 84ad364211 ("octeontx2-af: Add FEC stats for RPM/RPM_USX block")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Hariprasad Kelam 2024-11-22 21:50:33 +05:30 • committed by Paolo Abeni
commit 07cd1eb166
2 changed files with 12 additions and 5 deletions