From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: [PATCH 2/3] bus/fslmc: ignore dpaax pa-va table errors Date: Wed, 17 Oct 2018 09:12:28 +0000 Message-ID: <20181017091151.15017-3-shreyansh.jain@nxp.com> References: <20181017091151.15017-1-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Shreyansh Jain To: "thomas@monjalon.net" Return-path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50062.outbound.protection.outlook.com [40.107.5.62]) by dpdk.org (Postfix) with ESMTP id 4A22D5F17 for ; Wed, 17 Oct 2018 11:12:29 +0200 (CEST) In-Reply-To: <20181017091151.15017-1-shreyansh.jain@nxp.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Presence of PA-VA Table is transparent to the drivers. Ignoring the return values from table update call. Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 5ba5ce96b..db3026f4e 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -386,11 +386,11 @@ rte_fslmc_probe(void) * This has to be done before probe as some device initialization * (during) probe allocate memory (dpaa2_sec) which needs to be pinned * to this table. + * + * Error is ignored as relevant logs are handled within dpaax and + * handling for unavailable dpaax table too is transparent to caller. */ - ret =3D dpaax_iova_table_populate(); - if (ret) { - DPAA2_BUS_WARN("PA->VA Translation table not available;"); - } + dpaax_iova_table_populate(); =20 TAILQ_FOREACH(dev, &rte_fslmc_bus.device_list, next) { TAILQ_FOREACH(drv, &rte_fslmc_bus.driver_list, next) { --=20 2.17.1