From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id EC473FFA for ; Mon, 30 Apr 2018 16:06:30 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id p18-v6so8174243wrm.1 for ; Mon, 30 Apr 2018 07:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l+akUwVUwqLxZTb6+sFBXo0WxEqY22BiFKnkVfp6LuM=; b=D/4LwGu7Xcl3DXKopDIBJnqBV5BRsosEDR2ybBFn0FCehyIPLDesCMONRm7J/VrgRO FzzPQVXKX5225desuK3u00vzPZWCdfRNOhkCUQry89dnWbU32iO5SxRpYxfL1JDKgf23 mP/ZJprQF8dfJYxo0rzl4qWH3mkda4Pr0g7LPFoVBDP+r1geJVzDxBwLeMovkO825k6Q 3oJanYAS+7iYVFjUt2dt9PXAFG+bp/+bY8WDJjhuOjx1BA7SNRc72PHBgCymsPZjVb0o sjuEPs4PdAXxFuBAA+ljC9TFp+UKPl5JxuJNXc1+gIc3Xwoj0+ndFJf3XckyiKAgLz1h Qg2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l+akUwVUwqLxZTb6+sFBXo0WxEqY22BiFKnkVfp6LuM=; b=WZ/eLhKLRIEn0nJi6v7XRuUHwaSHrbuwInZSlbPqtg4MBtLh45aDXqHrtpblnt4nUa 0dQpl19ChL2KACQYBi0BNfS3vYrtA1fh7SrC6bAZC1pEfi1sjR3/jR7LOO3Jgw/wGdIp aDWVV8hwuQ6F3yjpMqrF0jWOB+ZSJnW/GaVmVrPMZq5LzGpM23+rdm7zqHZuKAD+W2yB sr74FDwiqYWgq7kMn2NJ7xdZVNA7RjP2EVcCwSeAinPTR06CMd+7EHkFxTM4M9GOZjbK j7FdySm+A36ezJqzSG21bODumqhUkbN/TUSjwnZM18qvca3eMavfJ70ft9yw3SKfMgD+ bezA== X-Gm-Message-State: ALQs6tCgOniYA5N9KGUoi7tJZurIrYMXipP1349lBZd/B8NmUEU6nhJr pHp8ziwSrOITgi4nqDxaXtCEB+38gQ0= X-Google-Smtp-Source: AB8JxZolJoUHLT91tPYjKp2XxbH7o82LiNM48jo6M7au9P3gFVePL48bHBavnwAJKstYrWSM3YmG4w== X-Received: by 2002:adf:b356:: with SMTP id k22-v6mr8654084wrd.207.1525097190693; Mon, 30 Apr 2018 07:06:30 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id e50-v6sm20645283wre.4.2018.04.30.07.06.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:06:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: Marco Varlese , Thomas Monjalon , dpdk stable Date: Mon, 30 Apr 2018 15:02:41 +0100 Message-Id: <20180430140606.4615-3-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'app/testpmd: fix DPAA shared library dependency' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:06:31 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 49ea59685cb339f1fcfddc86c4bcf6193e030426 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Fri, 23 Feb 2018 15:28:02 +0530 Subject: [PATCH] app/testpmd: fix DPAA shared library dependency [ upstream commit 3fcdd125463c89bdd94fb7eca7d024bfd3cf2a99 ] The dynamic link is broken for ARM platform because the dependencies of the DPAA PMD are not declared. Fixes: 83c82e15e1c0 ("app/testpmd: support loopback config for DPAA") Reported-by: Marco Varlese Signed-off-by: Thomas Monjalon Signed-off-by: Hemant Agrawal --- app/test-pmd/Makefile | 4 +++- app/test-pmd/cmdline.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index ed588ab6d..60ae9b9c1 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -44,8 +44,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_BOND),y) LDLIBS += -lrte_pmd_bond endif -ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y) +ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS)$(CONFIG_RTE_LIBRTE_DPAA_PMD),yy) LDLIBS += -lrte_pmd_dpaa +LDLIBS += -lrte_bus_dpaa +LDLIBS += -lrte_mempool_dpaa endif ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index d1dc1de6c..40b31ad7e 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -60,7 +60,7 @@ #include #include #endif -#ifdef RTE_LIBRTE_DPAA_PMD +#if defined RTE_LIBRTE_DPAA_BUS && defined RTE_LIBRTE_DPAA_PMD #include #endif #ifdef RTE_LIBRTE_IXGBE_PMD @@ -12861,7 +12861,7 @@ cmd_set_tx_loopback_parsed( if (ret == -ENOTSUP) ret = rte_pmd_bnxt_set_tx_loopback(res->port_id, is_on); #endif -#ifdef RTE_LIBRTE_DPAA_PMD +#if defined RTE_LIBRTE_DPAA_BUS && defined RTE_LIBRTE_DPAA_PMD if (ret == -ENOTSUP) ret = rte_pmd_dpaa_set_tx_loopback(res->port_id, is_on); #endif -- 2.14.2