]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: npc: Use common structures
authorRatheesh Kannoth <rkannoth@marvell.com>
Tue, 24 Feb 2026 08:00:09 +0000 (13:30 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Feb 2026 18:29:27 +0000 (10:29 -0800)
commit2e8aeb7ff0b27966e988b0f464fb1b91e7dfafb7
tree6449403480033d3ab5d30539930b22906a226998
parent528530dff56b4a39a19b1ead9de376d22d0baf71
octeontx2-af: npc: Use common structures

CN20K and legacy silicon differ in the size of key words used
in NPC MCAM. However, SoC-specific structures are not required
for low-level functions. Remove the SoC-specific structures
and rename the macros to improve readability.

Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Link: https://patch.msgid.link/20260224080009.4147301-14-rkannoth@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.c
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c