]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
octeontx2-af: Skip NDC operations for cn20k
authorLinu Cherian <lcherian@marvell.com>
Sat, 25 Oct 2025 10:32:42 +0000 (16:02 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 30 Oct 2025 09:44:09 +0000 (10:44 +0100)
commita861e5809f3e7ecbfde09546f6073da34bde1b47
tree0ceaae5c37680ba31d395f88a85ffe460fdea72d
parente4a8e78aca5e9e1bc5dc0f69a069c04fc9af943e
octeontx2-af: Skip NDC operations for cn20k

For cn20k, NPA block doesn't use the general purpose
NDC (Near Coprocessor Bus Data cache Unit) for caching,
hence skip the NDC related operations.
Also refactor NDC configuration code to a helper function.

Signed-off-by: Linu Cherian <lcherian@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/1761388367-16579-7-git-send-email-sbhatta@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c