]> git.ipfire.org Git - thirdparty/linux.git/commit
octeontx2-pf: Clear stats of all resources when freeing resources
authorSubbaraya Sundeep <sbhatta@marvell.com>
Tue, 16 Jun 2026 19:00:19 +0000 (00:30 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sun, 21 Jun 2026 21:45:44 +0000 (14:45 -0700)
commitfd4460721fb4062ef470ecdfdaedadfe7e415c09
treef23a718e012a6b2afc4a3dc8780c8d749582b442
parentd4b7440f7316e76f013f57d8b6da069a1b9c34e7
octeontx2-pf: Clear stats of all resources when freeing resources

When all MCS resources mapped to a PF are being freed then clear
stats of all those resources too.

Fixes: 815debbbf7b5 ("octeontx2-pf: mcs: Clear stats before freeing resource")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1781636420-19816-2-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c