octeontx2-af: RPM: fix stale FCFEC counters

[ Upstream commit 6fc2164108 ]

The corrected words register(FCFECX_VL0_CCW_LO)/Uncorrected words
register (FCFECX_VL0_NCCW_LO) of FCFEC counter has different LMAC
offset which needs to be accessed differently.

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:34 +05:30 • committed by Greg Kroah-Hartman
commit 18f712ec7e
2 changed files with 17 additions and 17 deletions