Message ID | 1519379883-26287-1-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Accepted |
Commit | 3fcdd125463c89bdd94fb7eca7d024bfd3cf2a99 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp413255lja; Fri, 23 Feb 2018 01:59:45 -0800 (PST) X-Google-Smtp-Source: AH8x224iCA2/FlqtQFGLO4O815eJLr39SjG7V35PMpMidCO/4cNMjB9dfcYsnLQ5mQHn/YuGtATa X-Received: by 10.28.93.80 with SMTP id r77mr1089329wmb.73.1519379984986; Fri, 23 Feb 2018 01:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519379984; cv=none; d=google.com; s=arc-20160816; b=DVXmt2aaSsloZtKB5k6ICVjF81EmAbsch90zMALuda3qQFO/11IG8jnyTPLQ9/bSWq 4JMhF7t/FsLwkO9f5qBg4683Q7Zvdv3gGh6hzZrlYabyyI1j8GgtIZ+kNsAB77zzOmyu PnZD+v89WwwqynRyBqx0tbS9yUOOigFZXUKERuZHTG3KBXLhzRu/pvDkd5v9S6q0/Lwb Fxtk8rSM4J6zjAXxc3nYKLse0HhRGOLpQPrt0CxaB/qRsp0DmN0sZ+HFBe0xOGErIoMD /icvZcwzHCP4Hk00O0kjqQHLXTBMkn4YaFuwZi9S3DoLqsCx2DLDos5U0mMhRGW1+6kn sNIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=g9FavIclaNm04OFoUrkterk/G0EYBNNy44HYaGHRubQ=; b=X0vc2weIBTSpo7ayLbWLAwbZg5MDOp6IyNU3g+gurQ/v/zl0MmRt3A485WlE21E142 8PPS4Z8cAvLbhl4kVkcepVPYoV8u8LT3aNxVQmn+KZR9bASaf1B3oyPEZ52hCLbXw+qP 0+dUlNCDT7lLhnSdYMybXBYFnuqPsGwrTTQJNmY+Pvety5vv69uawKc7DxT22wjEhOy7 oG1iLoZAdZkH6LU08FScr21T43rs6daVoMIvQqiGLnjXb/DzcUEpxujzhgyg4GlAgROG 56GFlP9915/eKRGIVu/mZIBN0ewsk/mcvqmaoD3QA/4LlrxS8ld3ZJsRyGy4trdWJelJ Pydw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=DUlG2WB6; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id i26si1695324wrf.525.2018.02.23.01.59.44; Fri, 23 Feb 2018 01:59:44 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=DUlG2WB6; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8E834CA1; Fri, 23 Feb 2018 10:59:43 +0100 (CET) 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 <hemant.agrawal@nxp.com> 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:sxy9GjoNPp490sULCT6xCtV3V0IZLAZRgobAdcFS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TGp4Ug4xhpHa15VZPNZ59NNo2ruxUBryyZqfUCjoW23tPpIO1DGxXQfdq7lFMWoDkEUrWWOcgf3+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: <AM3PR04MB07588CD9151592B35C4FDBA589CC0@AM3PR04MB0758.eurprd04.prod.outlook.com> 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?= UiEFNFxex3m8HwKgffeIwPkHr93eU9KBeVavmEYyquwyokmF++Uo0Q0FMgZWo8gTDydePsnpapLCLF7xD/O5tEJbDB+N+aRwhC10fKmx6ISSV+LBzIPzvtqfmD4cL15gzHa4sDxbjaDUd57sL4t4gnpW07Dt+Ame8pCRkJ9HjjAHdNJZQbvEgRNPImZrliQ/bREsnxbZDxkTE/AmiGEdg5ccTE0iLiWZumw01yRk7QjpMczTy45+Rrc7n7IrK1Pz5Eyh6rTWFgmke3f/7kJXepbovAudrroO3GmkzwSS/LHAKlzSDrmhgpmcepawIxd8GXE5TmUxJA5XxRnsC8QPbRbTQOYW/tl1h29sWYfThG66+wUU4BbUCkZjjQtXBpmFJwad9P1Uc6CYF6sf6YOziGJZ84qS5mjceZSPqm3h4XIIWHT7p4YU/GpBmvcRLF42TQKlmARr/D3Scbt8/FiEZy44AFTfW3WdnTyqFP1X4Ok6SnF3lOoW6GDK+x/MV+ZkGXllmeoUmVOrSj3h9j9EbzemWBPEV5Rcq9mST/fUXAH/jLtYQSvruaiM/mRUo0vE6tJPTaQndPf4qhQE/wx1Ryk7oO8vy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W6Kt4KMhxo=; 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 <dev.dpdk.org> List-Unsubscribe: <https://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[v2,1/2] app/testpmd: fix DPAA shared library dependency
|
expand
|
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 <rte_eth_bond.h> #include <rte_eth_bond_8023ad.h> #endif -#ifdef RTE_LIBRTE_DPAA_PMD +#if defined RTE_LIBRTE_DPAA_BUS && defined RTE_LIBRTE_DPAA_PMD #include <rte_pmd_dpaa.h> #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