diff options
author | Harman Kalra <hkalra@marvell.com> | 2021-05-27 15:14:36 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-05-29 14:16:21 -0700 |
commit | 5d16250b605963b8b45bf824b1889a6b3d64c662 (patch) | |
tree | 15cb054626415e80f476282d93a85f9cfa4a5cff /drivers/net/ethernet/marvell/octeontx2/af/rvu.h | |
parent | octeontx2-af: add support for custom KPU entries (diff) | |
download | linux-dev-5d16250b605963b8b45bf824b1889a6b3d64c662.tar.xz linux-dev-5d16250b605963b8b45bf824b1889a6b3d64c662.zip |
octeontx2-af: load NPC profile via firmware database
Currently NPC profile (KPU + MKEX) can be loaded using firmware
binary in filesystem scheme. Enhancing the functionality to load
NPC profile image from system firmware database. It uses the same
technique as used for loading MKEX profile. Firstly firmware binary
in kernel is checked for a valid image else tries to load NPC profile
from firmware database and at last uses default profile if no proper
image found.
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h index fb142520e309..74ed929f101b 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.h @@ -442,6 +442,7 @@ struct rvu { struct rvu_fwdata *fwdata; void *kpu_fwdata; size_t kpu_fwdata_sz; + void __iomem *kpu_prfl_addr; /* NPC KPU data */ struct npc_kpu_profile_adapter kpu; |