Message ID | 1515581201-29784-17-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5162170qgn; Wed, 10 Jan 2018 03:37:14 -0800 (PST) X-Google-Smtp-Source: ACJfBotPJAc8eRzYHKDmbl/sbYIle9qyshbu7qqEfquoyOyknOTHcYZnsbYOwyXPuiT5St3W3PZd X-Received: by 10.28.1.210 with SMTP id 201mr746890wmb.120.1515584234781; Wed, 10 Jan 2018 03:37:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515584234; cv=none; d=google.com; s=arc-20160816; b=quNE4l9klMkBk0i2Xkc8jK6RH6wqjB4rLcjU3QynyChlj23iAFbBRrVTzq1IKDMiPg CGxk7m0SOMu4wpErgbOGKW0aSsNOGCoTfUIkBMmgyceXSsZvisKi7PcFS3HBRYrPDdiq GDC0sDQdZCYgUQtAU1s2kl/di+j+AeDhgJiRkQ/LJAn+lJnWx44kJWQoA5E7F/jRCSTD I5uF7I++VedwpbqAmrcVsTN39h74GBnH6Rnvn/HzgF7Jo49fkpT4Q/C8T2mvKKBX43k6 31axN4PxaoLt61fPRnVvdJlyboTnCe4a1ADRHSikfMzqKBUpS6KHL+9+1FIXHpZM1rIE 1s6g== 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:arc-authentication-results; bh=ZhSkn8FFpRbGiwC/ZJtz5Ov7UCXIw/UsCzZmabqkaa4=; b=iPhXTrIwICbj7BEUgeKP6+9Ks0hbawybQv1oNqijT529FFsxi2VJLP615kX8P4uWgH kkU6HwnLUQihqKShq4sqF4OmyaVnvpxm9DTYVM30PWnC1hP4Ez4tIPaKZ7RZh+94A7eX r4tBvVply+FZULtQCC8eVMb3cmL/5PDALKkYuwWDdNEr686FlcLghiMRJFDkG0B97R+H Bkv0FLNPKJQSYVlBw0V/45X2xYc6qgDCCoerx+S2bXgFRuf+1pxc7YDTFjI/8IRQMmhQ KAjLwqYWN/zGKYe+si6MOMBr3wmsV9tfU8JN471DA36tgDdy2GN0pUAGARm9xIzmVGKP 61zQ== ARC-Authentication-Results: i=1; mx.google.com; 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 p6si5691387wrb.128.2018.01.10.03.37.14; Wed, 10 Jan 2018 03:37:14 -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; 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 01F0F1B219; Wed, 10 Jan 2018 12:36:16 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0052.outbound.protection.outlook.com [104.47.38.52]) by dpdk.org (Postfix) with ESMTP id 956F51B1A3 for <dev@dpdk.org>; Wed, 10 Jan 2018 11:48:29 +0100 (CET) Received: from CY4PR03CA0021.namprd03.prod.outlook.com (10.168.162.31) by MWHPR03MB2701.namprd03.prod.outlook.com (10.168.207.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Wed, 10 Jan 2018 10:48:28 +0000 Received: from BN1AFFO11FD033.protection.gbl (2a01:111:f400:7c10::158) by CY4PR03CA0021.outlook.office365.com (2603:10b6:903:33::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Wed, 10 Jan 2018 10:48:28 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD033.mail.protection.outlook.com (10.58.52.246) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Wed, 10 Jan 2018 10:47:54 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0AAljSY007124; Wed, 10 Jan 2018 03:48:23 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <shreyansh.jain@nxp.com> Date: Wed, 10 Jan 2018 16:16:38 +0530 Message-ID: <1515581201-29784-17-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515581201-29784-1-git-send-email-hemant.agrawal@nxp.com> References: <1515504186-13587-1-git-send-email-hemant.agrawal@nxp.com> <1515581201-29784-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131600548762028512; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(346002)(396003)(376002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(105606002)(77096006)(81166006)(305945005)(86362001)(16586007)(53936002)(296002)(54906003)(47776003)(8676002)(8936002)(2906002)(356003)(498600001)(81156014)(36756003)(76176011)(104016004)(316002)(51416003)(8656006)(50466002)(2351001)(6916009)(48376002)(97736004)(85426001)(4326008)(2950100002)(68736007)(6666003)(50226002)(5660300001)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2701; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD033; 1:qmTrvMvkXVvRrYtO2DMqIHB7KirFx8Pp/fnRxf2fsz871lFWvYWBUa8IFzVkXjOO4wHtDGYs4ibhacJpP7P+QZRaitc3Mmv90lAqVCheQ40gV4nGkk8W/PgEIHoVaeMg MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7e6c632-0531-4534-09e0-08d558179bac X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:MWHPR03MB2701; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 3:GQs0NFIz8fpyFCSrkkBP3nEIABkuB/KxmsU9E8KHUu61GT/gygzhCguRhd6OkPg/ljSbDOZFHLkVjtXtYWmb/TMlC7lgPmZaBTjIfz5WPnxhQW782xSdOhv3Qbl8SpGbg/O9opsOBtHPrFROlqmzL5vosx8rgRFPOfECisLHQHYuEpb1UYarzGQoeNeuLanJ3hYRqLJ2fajgnSVgCQyB56fiZRMXL8KJ4TZBJi+q4y34Kh35Ob/Pa7cUHEn0bfJDYokvp8PRg8gYPPovkEHipDKISWjHjZmHPNgr20nQgGspXt5MeCV0d7dxPM5pM0ZBW2dcEsKBm3l9T+EkflIcQUcHxJftcMFPvzyDHbTcLlQ=; 25:iAIOodYOgZ2n9NO7MRrDi4u0r/TlgXAY/KNsX1FWFwUU4o45ljBzZzGgLfMPeV+oWZpQfIAHwo8JYv7NyFAmyzbFxcfGIbeOFq1xX+WRvsB8GHBaU0KcqFvUz74TGEaTwPIeGPCwRKRcoBGnfrOdifgwkjX+anewxKJrcDC0sQXUrD4ibemB+9UHJVmGrEKPpdni+i0jZcxdwAoL01sBVUc8dBJJBxoX7/H6dJoZS8MhkjJyaJ7IawbZElvQ8L76EOQjbZmbSaG5gSc4Bqofbyvl8afOZCtKKJ3PwPIIoTmss2qAzICFd0R/wWSoX6Tw0Ff+jpuvjzWGDyy3uOlz9w== X-MS-TrafficTypeDiagnostic: MWHPR03MB2701: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 31:W/olSWWg0onguj40omVZQJK50s8iIiCU7RFqUMSXfrkRlQNZeQWv7xGeW09YPYj35R+47zMyfUe6NNpQ3jy9i0EtAVqIc1valBEk4eokZvXUGoCfy9fBNmxIeySXVSIVtNNeuMiswqZcwB+Igm39AdfioMThtfwNcYUfBdg28TvNa9j8UZGTZY0A4FmGBWMnFO79sz8DuYcHzf1t8ny70GJufLZ4oGtI1b7IxrqMwPQ=; 4:uK6yXnWfJicX7l3xnrAjBl+s0xOGbmwM0/vheq43mB7+GSq+oQoowbthcayfzakM108EpjGAbingBfm+9YpwbIdLbR90BbH/+PQPszoT+s+UWaGliJ/O5Ks2R6BbbwSQpT2Zkii+Kw3YOzRZ59VnZ2jAkGNoWJA65S01q+3qDAf67ksPRP7N/LwHYRrZvknDc3R3RKBXd44XISQsNNLwdreUsMnkpLBZJy2Ystlnp3sf0ra9fNtsuEAO2Q7VLJeMtrwTFjJh1F/bsOkjBoTcSIiRBoSoKb9F4shfpr6//znj1zVz1jxujx7BY3xSkiWP X-Microsoft-Antispam-PRVS: <MWHPR03MB270166912A9E7D7F522CFE5489110@MWHPR03MB2701.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3231023)(944510075)(944921075)(946801075)(946901075)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123556025)(201703131430075)(201703131520075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123563025)(20161123561025)(20161123559100)(201708071742011); SRVR:MWHPR03MB2701; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2701; X-Forefront-PRVS: 0548586081 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2701; 23:doYIOEDW5Y5Ielza+VuIcc+i1HS9SShdjUx6R4//U?= 0tDzaD61rUXVs/KenysDPoQj8vYGq57UksdSUIxf+z26faESINo6+Uwx5jEWlzEqtWcSWsV2gjFZAhhaddopWIt32tyh42oFRcxuJYG+LaGDdtZ6I8s7nA0h+cVCTKQJO0RLXdSYtqKqn13ksQye9HOCgZyAqvzIVvsLZk6s/Cu0Na4ipTR+9a/747Df8YLnSe2u0jJxvzaxlLUVa4Sw6JeJNG0IrT7bxECc97hBYredZx8zvw6IqU2EIR98E3obh2/4bv1R4V/FP+XdNTMY0vRNFJzOZFfp56xlmC8oSK9s+MoS70z337DIN5/oOXbZwDkrt55JWH3PzgSYdF1MsL4tmRMKqW2aPdfRlDXrYGHE28anj9imjByUYWEs2stxY4SCQDeW7eHzY7cH8Tw4KMxXb91OzUWd5McciWgAFNZoo0ENLxQM5b/45WNhrYga9blfCg6XhrHK6OgC+HR8nyImsEY64zcc8XqGibXDkzAabxPKVNzS5jT4jKf82YaXAFuZq8CxtwnguAdt/o3LsUk2AidObG6j24fa1H6UUyhYAQZiK0XSTLNI72jWkV3WygGIVYAwpV7/up8fQ15Owa3VhMB3OZo8Ex+YQG8rT6PqSRKgWHBD0SjZiUzrPJxVdS+oPREfygQY3N4UxfbLbpBaBPjl6sZ+uurR1uGlDjrdo59586OpZ9Xac5+9C3j7zaIFrqUw/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QG4qMYG76C0fY28h+kt1RrFY9FGuuvDdriJLoTOeXLZu3BQwai1ZDFjekcn6VOxGIREUTQ6X29WHyiFoLs++Ayf4KBSJ4MtrtVEC9su4hdDz0+2Q5s5dErH3cdCtAtSevRryaiwvmqh6Dl7FtYhJwnKENWEygAKkQ38XIfBdKGj+GJQrkjdPHeC8qSQZzZ+2qR27zgO5dv19l SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2018 10:47:54.6272 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a7e6c632-0531-4534-09e0-08d558179bac X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2701 Subject: [dpdk-dev] [PATCH v3 16/19] app/testpmd: add support for loopback config for dpaa 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 |
DPAA PMD improvements
|
expand
|
diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 82b3481..34125e5 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -43,6 +43,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_BOND),y) LDLIBS += -lrte_pmd_bond endif +ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y) +LDLIBS += -lrte_pmd_dpaa +endif + ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) LDLIBS += -lrte_pmd_ixgbe endif diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index f71d963..32096aa 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -89,6 +89,9 @@ #include <rte_eth_bond.h> #include <rte_eth_bond_8023ad.h> #endif +#ifdef RTE_LIBRTE_DPAA_PMD +#include <rte_pmd_dpaa.h> +#endif #ifdef RTE_LIBRTE_IXGBE_PMD #include <rte_pmd_ixgbe.h> #endif @@ -12620,6 +12623,10 @@ 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 (ret == -ENOTSUP) + ret = rte_pmd_dpaa_set_tx_loopback(res->port_id, is_on); +#endif switch (ret) { case 0:
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- app/test-pmd/Makefile | 4 ++++ app/test-pmd/cmdline.c | 7 +++++++ 2 files changed, 11 insertions(+) -- 2.7.4