Message ID | 1513166759-13466-17-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5385814qgn; Wed, 13 Dec 2017 04:10:06 -0800 (PST) X-Google-Smtp-Source: ACJfBov0H4KfhDe3BWG0M7TFWfHQr7W/4B3BKCaWxI8uJESf9+6LbtqTRkmnNuqycLARxXRQkzeN X-Received: by 10.28.129.77 with SMTP id c74mr1811263wmd.124.1513167006824; Wed, 13 Dec 2017 04:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513167006; cv=none; d=google.com; s=arc-20160816; b=ej+kvudYdGs9k3BlxwprQirTOifBxYRKsWiFPCZHKgrei45sKQQ5datCheziEEHiX5 Meh5FoFzRL0O4f+M1K8fDyI4oZLH2k3k4AVGXNYE5j5kDM4s7hB5eMXQfL9iCgrAUgDl A9gy1gS+N0qGS/aB28Iv1cjekxpm5ZWMXdHcznH4uKra9eCWv9mRgB64aHjiqdeqV8ee ElhVvMZK654ebHT8gS7ZEwtQh9K2yfxmIzLYD7Ya5ic3pmp+/7OwxiI+75ZgA3Sh88Fw VbNISd4Mx7NUfw0qFWUKRBDX6dDrrs/Xf/kpJbhQ76Jc8VFpMA3Z5pb52VnaW/YoFDg1 T+jw== 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=0NNmS17SGI72GUEHs9Qgo9E78P5EITZyzlqG/GU24SU=; b=VvTOGzqeoIPU6+xqDqiJdSP+tdsrIhZwS3nJSipkmY6/LO22hBjf7+ogERoG4qvKtH Xo7pKHCoj6hnDL1eTk19a2ckEu4AI8v/MBJQUeVsR64l1tvgPMiRNsYj2CwmXRg5PkOd SZj/7rsx4DGKYzykQ8U0AelZ/HNC9GGz2M5cLxzY+lnXHeNCVuGsJ824VK2wc8oSACR8 LgHv4h/yhvIPTm1wa3fXVpHG0SssekKXGwIwu9RI+EZFcYViifHef9CJTTmihPe3QUHd pjjmUoAJP6Dsm5FXFJRuMQ8d+3Qv+YAb4JGdZtMQ8f7TzO8WX1pmSctbMfR2gaeS+zhN V21w== 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 a136si1342484wmd.169.2017.12.13.04.10.06; Wed, 13 Dec 2017 04:10:06 -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 8CB101B202; Wed, 13 Dec 2017 13:07:31 +0100 (CET) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0070.outbound.protection.outlook.com [104.47.37.70]) by dpdk.org (Postfix) with ESMTP id 704771B1F0 for <dev@dpdk.org>; Wed, 13 Dec 2017 13:07:27 +0100 (CET) Received: from BN3PR03CA0076.namprd03.prod.outlook.com (10.167.1.164) by DM5PR03MB2699.namprd03.prod.outlook.com (10.168.197.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Wed, 13 Dec 2017 12:07:26 +0000 Received: from BN1BFFO11FD029.protection.gbl (2a01:111:f400:7c10::1:189) by BN3PR03CA0076.outlook.office365.com (2a01:111:e400:7a4d::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Wed, 13 Dec 2017 12:07:25 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none; intel.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 BN1BFFO11FD029.mail.protection.outlook.com (10.58.144.92) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Wed, 13 Dec 2017 12:07:18 +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 vBDC6t9a008652; Wed, 13 Dec 2017 05:07:23 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com> Date: Wed, 13 Dec 2017 17:35:57 +0530 Message-ID: <1513166759-13466-17-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513166759-13466-1-git-send-email-hemant.agrawal@nxp.com> References: <1513166759-13466-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131576404383721562; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(39860400002)(346002)(39380400002)(376002)(2980300002)(1109001)(1110001)(339900001)(3190300001)(199004)(189003)(5660300001)(47776003)(104016004)(97736004)(50466002)(498600001)(50226002)(8676002)(4326008)(105606002)(36756003)(48376002)(85426001)(106466001)(53936002)(77096006)(2351001)(51416003)(68736007)(76176011)(6666003)(81156014)(6916009)(316002)(81166006)(2950100002)(8936002)(16586007)(356003)(2906002)(305945005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2699; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD029; 1:Jp+NIwBrmXcU42vd/kOSlB72eHgE5faObjAZfLzwOX/KHSlvUP+s09n6FJ2yEG1M0qar9hleE/iLfvWEJzvEbwXUo1vDdC9lvnSFBkYwsoS7VIasgIfOJF4mkZwvO5/4 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ee7537a2-39dc-4ab0-685a-08d542220e94 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:DM5PR03MB2699; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2699; 3:NW1qpQzCNKs9xRMhYzbuWn7T6tW27C0KSaFH/+YWt72I47piEm6n9lTAeOoZwpm7S3hN8oyxjrQUTa+mICXyzprDzrd7xGH3jpQIwx5g9sh1W4rFGSi3Fv6NAKjPu1k2ysQVUaSNC1KKyXp+xEvnGujHovzPUfXlII4C1DCSGaol1y6kOI75+rV7oUWh8kku75h7ZFzgJGT5O+3PBKDSC7p3zaK+mXUx4BeOq8bdE4mOsKax8GZTR/FrgCdWOgXIQ6UyQ5Ks2lshPKjuHEGfLc3iq+KsAkWgPwHPoLAmPcYEVkv0d4qGYjSnkAhABsrObnqN/zLwqL5p46mXFnyMQt20Rfkc5P1lK4tQLoOR6VM=; 25:Ijx/lETCm4CtO4y7lxBOOehlPF94OLugTubu9S+vnmoY6L0LN9D3ReE94BfOH6vV7gABl10TaUFLqciyZmpwHT6OvmjHvf13POXnrjGnFQUaPt3uGscgQMj5V2u+NxDX14bYuO2EArwrfADmkNNZ/CKxoqTJ2vrLMRZA5Ib6O1p130gmpBH8eiKDE/vguWUVRKUk8157fOGuu8BTHpKn4XFlXFImhlyWp2YoCAsafq/5BWpx0LY3pabV69ujlUyp8tf8BRdXpSLX53gWh5JmnPkgwMySQhHnaLq92e/0djKKFlofYpERUQYprL4bKU0s/PP0SP1ZKe8Onu6jRhNBGw== X-MS-TrafficTypeDiagnostic: DM5PR03MB2699: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2699; 31:mJXU8Qy/P9TVunvoczFEPKsChNaa+/Nb4GpDtWohjE+qugDfvWExinCtACHlsjY7k82R+TlXpK/ZjGo56v/zSYQ9U0eUTuChw2Ota0BbPHToNPzjQ0wfW6en2wYrD5WgIE8xgnHe2wPvinZDzp07NAo2ors7TdKx1vhsWT5OdQgLz7AS+NFWERKPBjPPFkg4uxHKYh1cGJDb6fqFNB3bIBETi3hXQzSJCZHZLK9jyeA=; 4:5Kvy0rfaEI7T7NaJq6cqXIlFQoyagYqjlrY0whA9La2alm5OJREryEBfrmaHP+2EGOoCS+H7hjS8mgFjv2zs5doD1DzetNMmEpKAxAJ5EC5KNGsh/ZJOYXxDB4dpUyGc7zJbASxUGsFDslBZD9d9Ua4IAhPWRP2CaeQ4eGqekM04k+Gcnh3bU26OEG0JrSeamd5v1yJ+ys/TKksE2fUMPxzOqJf7n74g6DombyFiZDTtwCReL2dLKMI6dY5hLyxhQsBmedXR7L7UlDBCAt3WCjiP5/i0zjzhgllTtf4NzoMIP+OHKycYvWnVueUJV8kb X-Microsoft-Antispam-PRVS: <DM5PR03MB26992627DBF2DC7FF0F4FC3C89350@DM5PR03MB2699.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)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123561025)(20161123565025)(20161123559100)(20161123556025)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(201708071742011); SRVR:DM5PR03MB2699; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2699; X-Forefront-PRVS: 052017CAF1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2699; 23:W6t8NTSrHoY5OHz33Ly3Up0DOj7gzrAf7UuJGFQQn?= BrhXZ40y6f4NvbNGozRI4ATxMTAcGDU+v6DpUHkE9UVnmlOmpiRf0SA3jihHzGv1L5nHYxBq8twLuywlGZtjEIJIjxzvE9eMIQVlOyANPYZSx4KeF2GY2oy9qYMhuYFnwAvfMyAQ+JHfn3rB1CxMMnKOukarcjO6Jl+MIjkK3108RjhY6Kt+CNU5wwRlZAQvqP1J7cSRaLt6eHzGywhoSpq3XtwOevSwhhuRtsY7MG4HFSfPntbHNlXwXwa6ji0lwahRAYoY+Kxmi+UUhD6dxbh5Iiby7QgZPxvideWU26Cx3Evv3Ft372HmQcf8vgCLpvnP11SqN8vHNDF8iftGIhNoFR+mu7Um6MRxfc8mvddji9qxgh95Fq8xe7FrRB1oxNMtTBkVngeogXKDIsx5TMa6HVDtuOBEeSw3I1zaHg8FREw/e0bOpPrjsV/URQ3+KmifkMrKxmiORBa/Z/hro4u52reSBIPtslV2kuBak7RZwQln9Sgq2blC7aMXAFopZrrjHxJxqIS4zsrfo/JkW08VsW3ECO87fXxlPokUB506xZacfvJ7DDuP6+rEKJ1UUYKxe721qillU6kFd70Azry8VvqiZYjhCdCuBNaHnEdmck1zooxFIHMyge457N6c/GZuAYBv45EdRY6lotk9Jw0dlLnkEOslA2KgE3QClIID4tzIBhsi8Ewu9r1KGV9B/UuMIcIt7ynzhlUPxWXbFd/6XKXbx/wpKu2d9Je9nfn4ALkqDp4EdgHR8mWiZ6hSqRy+Yu+XyZGPRQ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RHDFDn6yqktJ6E0Zne/aj/0leADvb48lL0RslzphGBoweEJl1ctRG4SOdNCbosHCh6I30/hyV1tLzr4yEe8STl5Kvv0lyD9xgWIMVYbDCiYd1KcYvIYqS+CikGu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2017 12:07:18.2005 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee7537a2-39dc-4ab0-685a-08d542220e94 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: DM5PR03MB2699 Subject: [dpdk-dev] [PATCH 16/18] 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: <http://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: <http://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 d21308f..f60449b 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -71,6 +71,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