From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0053.outbound.protection.outlook.com [104.47.1.53]) by dpdk.org (Postfix) with ESMTP id F20474C75; Fri, 23 Feb 2018 10:59:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=g9FavIclaNm04OFoUrkterk/G0EYBNNy44HYaGHRubQ=; b=DUlG2WB61dsrqaeVhm0ptD4Zpii5imU9ebBNZQogQ+F6K/rjGFPmMw85Crt9WZ6ps84tMUaOZQAr0zjbEXw2M4qOLFzPMRquCHROZViGtRzcW1BCSIs94NQOeHNtQ1XaTO+H6aDAq6w07Os8UayDGR4PuTeg1bYyRcZRLLSwidw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (192.88.169.1) by AM3PR04MB0758.eurprd04.prod.outlook.com (2a01:111:e400:883c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Fri, 23 Feb 2018 09:59:40 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: thomas@monjalon.net, mvarlese@suse.de, yskoh@mellanox.com, stable@dpdk.org Date: Fri, 23 Feb 2018 15:28:02 +0530 Message-Id: <1519379883-26287-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20180222225308.16972-1-thomas@monjalon.net> References: <20180222225308.16972-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: PN1PR01CA0100.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::16) To AM3PR04MB0758.eurprd04.prod.outlook.com (2a01:111:e400:883c::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cfd3d5b6-2cdc-4455-77e9-08d57aa42890 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM3PR04MB0758; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB0758; 3:sxy9GjoNPp490sULCT6xCtV3V0IZLAZRgobAdcFSr7O7ACVyokN/hpsknnwOwtJ9YR1h2r6p3pjYkfzi0Ou77n4emun1c6PTqv7yT3LXxnRm0iIqMLBK/Z7LYlTEbfcmTLmHAcLbqSzkYRl88SMWc0Td7GeoBGQ5lKZZja1rq31lOAWjApgbTmI+qIv2cIMcrBUhN6M1E86F3oPK8ZA5YKV21TrNgdu3Uno07+PniLF4tw4AFsAySOjWLPZI9tso; 25:u84GApSVnWnqBbiMlH5IybJ1Ijn/JxXCY1tJkPXc6g6iU0F/ZYEi02KqXRcbzk2tbZXe7eoG4791u8g+UN8fCBtwyHhjn/LL2USs0XucjjtsbFx6LvCvl4e4USDemnVlc4m+L7aFHMsl3FQ/iIOcTblsawFWEtAq9AZZKdDuLRceIyrDZTL03X3PzsajO9dn8AcNvGG5VKkM2692qrWEKHBFVZ9Sobs0jqp9NGpgBAlK+MiY4NWbB0S+L0bMXdR6rnfHpd6oWMpD+gI1JpAuf4FHg4x8IIZ43eEbD+x9DxmaZgaswwp4QyC2vx8+nufViyyX5Rf71pH+9NQtLpzgnw==; 31:NpQnFhoW+2XLJIVqLM4RHPsk6s1rCqEIaNCsEPWbGN3UQ/ab8+fpxr0DJfhppJ6sN6UeAq/e26KSPPusrW/SkPR6HJqxPashBqW5A5cVtf7GMp9ZfhD7qOmxdy/5vOVqN96TAdigu93+exmqPs/Bjl66JLDA1HsnPRO6A9n5xWvhsIEeUlBgQIMDYJMsTFjTRsiBRGV31TfQg49NpzbqyUBqxRuMdnwcJZcD2ATjx9g= X-MS-TrafficTypeDiagnostic: AM3PR04MB0758: X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB0758; 20:CDuilaPlE8e00PDxQR2T34tHxGr/Pw5zV7bDRffo7WPuAGwPkV++CXi10rkv/OGtofdl3UhFupwJjkzFBx9e/FOnd+ym0X1qFwiS6/wBNIxzvGHRIdg270jlC9h/Af5bXKR5iIIYfK2IAUo96FQMljAzk07YIqLEaeFvX72unOfOmBg0Sc9ugmxheS5veCz4Eyox6hnuC8TGp4Ug4xhpHa15VZPNZ59NNo2ruxUBryyZqfUCjoW23tPpIO1DGxXQfdq7lFMWoDkEUrWWOcgf3+hODsWyrJBlrLdmuCEUiTnxpVCtY9wU+j8gC234kedhSCFSXHNuGNiprPXpE13nfaxPxMuXjb1724709UA3Br8AjUbdXeB9bQUAnFfqwZ90QXX7+ERrDdK7LMw4k0gXEzG/qOyLC/ios4GExX2VK93CzUjWLAit9l0DZ1ygVQNxQLA6M/Zcr7vTtkv5gOTtPm1nKE/P/jVGoUR+9KIJZPxMbohv7Gcdy4eUgNyHXyV0; 4:NKf4nYM84h7R3SpvEdPgPBpd0z2gDEslG3GHlWSGs47xIoo4mT2q/u7do/P0t2MetBMVIbY/2rHheGcNCF8tymf+NuWp6yV/VBTzfSxfM3V4vbjq0gJHYhVbUtX/SdIvJ9waVFhlcSeWkR+G9p22KjYft8dYrnhYLr2pbz0pZ0F6Eg9Vz87ITZzpU5JN4pR+Wx6ge1lN3ei/czpWC3DUKrv2R8As8bt/Nwq6TD62G6WPbmUZGSMlJiVOu68XeHWQpXE9llQZ20QipGRwvxpilv2+VY6i5jEwAp5Cf0ptOfsZUEP0nBUzMhaPuJ8ndKtC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(3231183)(944501161)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(6072148)(201708071742011); SRVR:AM3PR04MB0758; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB0758; X-Forefront-PRVS: 0592A9FDE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39860400002)(39380400002)(346002)(376002)(189003)(199004)(2351001)(47776003)(106356001)(2361001)(6116002)(8676002)(66066001)(4326008)(97736004)(86362001)(2906002)(16586007)(6666003)(36756003)(2950100002)(5660300001)(48376002)(478600001)(3846002)(186003)(16526019)(6916009)(25786009)(6506007)(316002)(81156014)(52116002)(51416003)(68736007)(386003)(8936002)(81166006)(26005)(105586002)(50466002)(76176011)(53936002)(6512007)(50226002)(305945005)(6486002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB0758; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR04MB0758; 23:/DwukpqMMm+Gdt4jNXuc1Cp6/aNdJJ29h/VLOS4dJ?= =?us-ascii?Q?UiEFNFxex3m8HwKgffeIwPkHr93eU9KBeVavmEYyquwyokmF++Uo0Q0FMgZW?= =?us-ascii?Q?o8gTDydePsnpapLCLF7xD/O5tEJbDB+N+aRwhC10fKmx6ISSV+LBzIPzvtqf?= =?us-ascii?Q?mD4cL15gzHa4sDxbjaDUd57sL4t4gnpW07Dt+Ame8pCRkJ9HjjAHdNJZQbvE?= =?us-ascii?Q?gRNPImZrliQ/bREsnxbZDxkTE/AmiGEdg5ccTE0iLiWZumw01yRk7QjpMczT?= =?us-ascii?Q?y45+Rrc7n7IrK1Pz5Eyh6rTWFgmke3f/7kJXepbovAudrroO3GmkzwSS/LHA?= =?us-ascii?Q?KlzSDrmhgpmcepawIxd8GXE5TmU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G/RpW8yw2b7TiFHot35phaPkm6ZAjgeSa222ZHwwbs6NnJz3dUjSJ58a8x2E8yIvi6VPFkTyN2JRFU+nm1yo0z2v4H3R5IDJstHtoNCpIMxm9PMM22hoWlypyPWAT4ZNV/aZoXD4mts3xfiumTffRhW3OGHLaQ+/7+WOIUCfIKCUZqHourErBrWQCDCvxnuyS+A3eWqSezrExfmGxuPOYD7sLXMEgkNedS3og1ritng4cUDUfyfGMzgUo+EmJIVTvMkj5QU0yWh2sWyDBBn8jWMqcUBmxsHvur7t2dEUL4=; 5:4qTOBYwDlhOVTkEztVD0AwYEYzsAch597u6HMfahsGw3m8h9S2y6IynEj8RvP6iGg6IDNSEPgqA9rNHeuOtkpnwp5VXSvJeGSyL2dK4xVNV0/hRxL9S3thrsLneNvUoQMmDgJQMP6VAzT1QvEW4ZAtfvO/USY0HwkW6Kt4KMhxo=; 24:k9Zi+gyGoCmqiEW+yxuks4zfhy2LnDhFNN38sxJNVjmwUwNxORtF1XqxhxYXJZuYzq0A9vqeFxFhSUbMn8sEPbJfpqRjbtnguMgGee3lxH4=; 7:7furJK/ChKQq7r8gpRLJeaRyUyapcWRBZhEass5Fdu20MKYYkYhKpFZP2FoXfUOfMs4m/2vttlxZZOoQ4qHjuv1EMG8v/2EWYGkGz/4KykM7Pjh4LnknFuBoIp+SgCzRaTJgLzNAbbkPya8mSNSRK6XojVhcaflbuoyWrIbHUec6kSQoUfcg/4G0PeUpSG8pHDk8Q9kZQDrzkzixLgkRp9g5Y8gFIbuLzyjf8qBpCh4WJhDntyx2vZc6mUw9JWPA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2018 09:59:40.5793 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cfd3d5b6-2cdc-4455-77e9-08d57aa42890 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB0758 Subject: [dpdk-dev] [PATCH v2 1/2] app/testpmd: fix DPAA shared library dependency X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 09:59:43 -0000 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") Cc: stable@dpdk.org 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 ed588ab..60ae9b9 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 d1dc1de..40b31ad 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.7.4