]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Fix devlink unregister
authorRatheesh Kannoth <rkannoth@marvell.com>
Tue, 31 Jan 2023 06:16:59 +0000 (11:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:09 +0000 (11:28 +0100)
commitb1f1ea4e5b900dcba5e00298718b85982cad8e71
tree466f3a401428d5b5396d8c8211ab20bf05315bc9
parent758b2263031d0fb347fc5e6f70779535fb0104f8
octeontx2-af: Fix devlink unregister

[ Upstream commit 917d5e04d4dd2bbbf36fc6976ba442e284ccc42d ]

Exact match feature is only available in CN10K-B.
Unregister exact match devlink entry only for
this silicon variant.

Fixes: fa3a069f0a81 ("octeontx2-af: Debugsfs support for exact match.")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230131061659.1025137-1-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c