OSDN Git Service

octeontx2-af: support for coalescing KPU profiles
authorHarman Kalra <hkalra@marvell.com>
Thu, 27 May 2021 09:44:38 +0000 (15:14 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 29 May 2021 21:16:22 +0000 (14:16 -0700)
commit11c730bfbf5b9eecdf0de1267314ab3e5ea4d896
tree459609799c57b1d4daaef4a5f602b0516915fe40
parentc87e6b1395792d25697927e2a565547ec7a62681
octeontx2-af: support for coalescing KPU profiles

Adding support to load a new type of KPU image, known as coalesced/
consolidated KPU image via firmware database. This image is a
consolidation of multiple KPU profiles into a single image.

During kernel bootup this coalesced image will be read via
firmware database and only the relevant KPU profile will be loaded.
Existing functionality of loading single KPU/MKEX profile
is intact as the images are differentiated based on the image signature.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <Sunil.Goutham@marvell.com>
Signed-off-by: George Cherian <george.cherian@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/npc.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c