]> git.hungrycats.org Git - linux/commit
octeontx2-af: mcs: Fix unsupported secy stats read
authorGeetha sowjanya <gakula@marvell.com>
Tue, 16 Jun 2026 19:00:18 +0000 (00:30 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sun, 21 Jun 2026 21:45:10 +0000 (14:45 -0700)
commitd4b7440f7316e76f013f57d8b6da069a1b9c34e7
tree4da556ce539446a6c736114c2319d88133357a7a
parent48b67c0e8af65acd59d81ddaedd3442b5e4c27b7
octeontx2-af: mcs: Fix unsupported secy stats read

Secy control stats counter doesn't exist for CNF10KB platform.
Skip reading this respective register for CNF10KB silicon while
fetching secy stats.

Fixes: 9312150af8da ("octeontx2-af: cn10k: mcs: Support for stats collection")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1781636420-19816-1-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/mcs.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c