octeontx2-af: RPM: fix stale RSFEC counters

[ Upstream commit 07cd1eb166 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Hariprasad Kelam 2024-11-22 21:50:33 +05:30 • committed by Greg Kroah-Hartman
commit 5132e40152
2 changed files with 12 additions and 5 deletions