aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarman Kalra <[email protected]>2022-08-03 13:24:13 +0530
committerJakub Kicinski <[email protected]>2022-08-05 18:56:34 -0700
commitcf2437626502b5271d19686b03dea306efe17ea0 (patch)
tree7add939922c0d2474ab5b9da97086ba7fc60e7e8
parentdd1d1a8a6b29b6b472fd0d449b29eb806c411dd2 (diff)
octeontx2-af: suppress external profile loading warning
The packet parser profile supplied as firmware may not be present all the time and default profile is used mostly. Hence suppress firmware loading warning from kernel due to absence of firmware in kernel image. Fixes: 3a7244152f9c ("octeontx2-af: add support for custom KPU entries") Signed-off-by: Harman Kalra <[email protected]> Signed-off-by: Subbaraya Sundeep <[email protected]> Signed-off-by: Sunil Goutham <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c
index a2ceb831db33..a0198b2e23de 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c
@@ -1675,7 +1675,7 @@ static void npc_load_kpu_profile(struct rvu *rvu)
* Firmware database method.
* Default KPU profile.
*/
- if (!request_firmware(&fw, kpu_profile, rvu->dev)) {
+ if (!request_firmware_direct(&fw, kpu_profile, rvu->dev)) {
dev_info(rvu->dev, "Loading KPU profile from firmware: %s\n",
kpu_profile);
rvu->kpu_fwdata = kzalloc(fw->size, GFP_KERNEL);