From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0057.outbound.protection.outlook.com [104.47.41.57]) by dpdk.org (Postfix) with ESMTP id 9708F2B9D for ; Sun, 23 Sep 2018 12:31:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ErlmfR8JigWO2bOPcKwVTOVUWlAbWS5NhuQcBNiT5Po=; b=T82RmvM0OdRRnlvp30azFd4i8WFGtrOo3vtxARABj/IxDrlY811NY73Vb3vgATbcCz98PUsL+5RS9rRWLEIYOViR7ZhGZYPtDMqcgV/b2H8aineTuEV2OIQu9KF96Z6joeVrL9Alv7txpmXREfKRTkmcmQ9/wjOYZXRr3nxx9Kc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.14; Sun, 23 Sep 2018 10:31:38 +0000 Date: Sun, 23 Sep 2018 16:01:20 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: nikhil.rao@intel.com, anoob.joseph@caviumnetworks.com, dev@dpdk.org Message-ID: <20180923103119.GB20954@jerin> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> <20180919222235.6239-1-pbhagavatula@caviumnetworks.com> <20180919222235.6239-2-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180919222235.6239-2-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR01CA0101.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::17) To BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 97653c1d-2698-4840-97a7-08d6213fc04f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 3:LjEIyAQ952t+GnXGh42eoTEvLZ/weQ0i5bg9QQJP8l3qGkkPsRW+py2UmNDJczRaIKhY/nSzlUAAJBX7Cv0nTIW1WiNUSQUgv2D8gePNk79rihdFbks4YYsCyLi+WjZChmRS96MpBBh83moUFavPhJiurxndgM1cFk6Cnb761urbBoZkJyBHOOkATdthSqiP9M3SApEwgk8y800LLx1N/LcLmoLukYSksrdNl9TMdweHYXnpHoArzTJF8Z894N33; 25:ltOhJsiGV1lue3QELWLQZ9s2JeEg2dinwPXcjCbiGixByo/T10tHYkbnanN9yMypLJYtdjcClSBl7lyBHw0RJ1NocepFEtxGW5tUiDp5vusKTiAYosATNq8hyJTlMLaiauFkXFDCr+Hk+teTz90JpkQfH2Fx4vGNc0F5+crpsVW/Gf4sYiinMBxgiyRrDwXtG6UBEjbrcn0ziOIXth6VsycwARWhQ3BZ/2C1Lrm+X8wvotXpW2YT1xjM4lzF/rZn3++95B+2hRg8SG/tZxBUSfL3vneqL20HSe6lZv8R1gmn12bdCTr0ESQbyYeeSx+40hq+72tLui4OqxHf1Z+QmQ==; 31:3nYBU0+8iVsXDfYv9ifbSyrm+7Ecs6LWNhOliRhPFLttnEX713CZfkh0fMcAjXGJ+wMV+m3K+bjU6fkQj2GiXPjz9zk3zhlsh0jI/2l9lnGZjiYC9Nu5h21NVfH7LOqZWY1bPiSdCMX+EACIwyrQGW32FSxh3ROkLkHsJutkjQua+rB14h/1xqoR2ORy4Ec9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Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231355)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051); SRVR:BYAPR07MB4998; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4998; X-Forefront-PRVS: 08041D247D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(136003)(39860400002)(396003)(13464003)(51234002)(199004)(189003)(4326008)(486006)(446003)(7736002)(25786009)(956004)(229853002)(16586007)(9686003)(476003)(44832011)(53936002)(11346002)(8936002)(6862004)(81166006)(6246003)(55016002)(58126008)(81156014)(8676002)(52116002)(6496006)(47776003)(26005)(305945005)(386003)(33656002)(16526019)(76176011)(68736007)(33896004)(66066001)(6666003)(6636002)(33716001)(105586002)(106356001)(42882007)(97736004)(72206003)(50466002)(478600001)(23726003)(6116002)(3846002)(1076002)(2906002)(316002)(5660300001)(14444005)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4998; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4998; 23:NxlShPfo4CIBnprRJ9KkWmiCmHoZxmoNb7GjbKJRw?= =?us-ascii?Q?9F8/5eTBd3K7LfgImtVxWNgK+GM8JmMA8rSTusZHAOuynD7g1Dr4CrqCrdHC?= =?us-ascii?Q?7Tht59HlsigOutMzcK/ifKtelfHVAgf9GRMoC+iVhF53lrpmQeAuzOujNTIF?= =?us-ascii?Q?AmVZpWO63pS/3BpnJO1pk/CpLJU/P6Z93UClaESXtI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NseohzJsZjMzqAadNFuupcYRhTst8l7dRYKX5tD811jpPyoXiwqP5oi2hxsuNeEJvPpvhmYvJo01hnkETnMegdzmMef+Rg0ZDJhGxzmdBKFtlRy3Nc3zYH970XaTixcizvW1ECEe8xc0SuskmlYRJgsDVQhLBWcdeNjkbBbY74NOf6eobsKck2xOlniHVxJ7vM0g==; 5:FyT2h9HSDTMacqzj0h0TQDlUtAJOzrRzvc+zMhI+LHxIWVll+BZW6CCAdcg/88Sl7ZZgiyH+pFrkNusqAwRoqnj04/Givkkyw0Ik7qbgp0q7yj4c5xW1waLLRV+9q4/DgGWnds9Mj87ihJtuP6GVKJ5c0wCJWisZq3CZhCGjTmk=; 7:5UJHtvljFTmONG+xq2/QKwxKXvh+gSih48jUtKpR2S6ZWjojLm35f534J2GzqDxbLZUVIOpOual8qAQrNZxRp6UI06KrjERbMC2enSmro8RZh7VqE/p7jXNUlHrwSryZuvB6TGNOKddv063gEQcekD+kOoEkcxRdUNZWxUwxD44d3HnbJZJKnAMenDNSo60ht8J60JIWlcVUtRWNMWWW3yO2UB17JbzKHl4gMpZDVp07gT4vAtFI4QvhwnjtY7WD SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2018 10:31:38.9945 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97653c1d-2698-4840-97a7-08d6213fc04f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4998 Subject: Re: [dpdk-dev] [PATCH v3 2/4] app/test-eventdev: remove redundant newlines 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: Sun, 23 Sep 2018 10:31:45 -0000 -----Original Message----- > Date: Thu, 20 Sep 2018 03:52:33 +0530 > From: Pavan Nikhilesh > To: jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, > anoob.joseph@caviumnetworks.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v3 2/4] app/test-eventdev: remove redundant > newlines > X-Mailer: git-send-email 2.18.0 > > Signed-off-by: Pavan Nikhilesh Please fix check-git-log.sh errors. ### app/test-eventdev: remove redundant newlines WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one With above change: Acked-by: Jerin Jacob > --- > app/test-eventdev/test_pipeline_common.c | 21 ++++++++++----------- > 1 file changed, 10 insertions(+), 11 deletions(-) > > diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c > index 12a58fbbf..cdf9010b4 100644 > --- a/app/test-eventdev/test_pipeline_common.c > +++ b/app/test-eventdev/test_pipeline_common.c > @@ -65,12 +65,12 @@ pipeline_test_result(struct evt_test *test, struct evt_options *opt) > uint64_t total = 0; > struct test_pipeline *t = evt_test_priv(test); > > - printf("Packet distribution across worker cores :\n"); > + evt_info("Packet distribution across worker cores :"); > for (i = 0; i < t->nb_workers; i++) > total += t->worker[i].processed_pkts; > for (i = 0; i < t->nb_workers; i++) > - printf("Worker %d packets: "CLGRN"%"PRIx64" "CLNRM"percentage:" > - CLGRN" %3.2f\n"CLNRM, i, > + evt_info("Worker %d packets: "CLGRN"%"PRIx64""CLNRM" percentage:" > + CLGRN" %3.2f"CLNRM, i, > t->worker[i].processed_pkts, > (((double)t->worker[i].processed_pkts)/total) > * 100); > @@ -233,7 +233,7 @@ pipeline_ethdev_setup(struct evt_test *test, struct evt_options *opt) > > RTE_SET_USED(opt); > if (!rte_eth_dev_count_avail()) { > - evt_err("No ethernet ports found.\n"); > + evt_err("No ethernet ports found."); > return -ENODEV; > } > > @@ -252,7 +252,7 @@ pipeline_ethdev_setup(struct evt_test *test, struct evt_options *opt) > if (local_port_conf.rx_adv_conf.rss_conf.rss_hf != > port_conf.rx_adv_conf.rss_conf.rss_hf) { > evt_info("Port %u modified RSS hash function based on hardware support," > - "requested:%#"PRIx64" configured:%#"PRIx64"\n", > + "requested:%#"PRIx64" configured:%#"PRIx64"", > i, > port_conf.rx_adv_conf.rss_conf.rss_hf, > local_port_conf.rx_adv_conf.rss_conf.rss_hf); > @@ -261,19 +261,19 @@ pipeline_ethdev_setup(struct evt_test *test, struct evt_options *opt) > if (rte_eth_dev_configure(i, nb_queues, nb_queues, > &local_port_conf) > < 0) { > - evt_err("Failed to configure eth port [%d]\n", i); > + evt_err("Failed to configure eth port [%d]", i); > return -EINVAL; > } > > if (rte_eth_rx_queue_setup(i, 0, NB_RX_DESC, > rte_socket_id(), &rx_conf, t->pool) < 0) { > - evt_err("Failed to setup eth port [%d] rx_queue: %d.\n", > + evt_err("Failed to setup eth port [%d] rx_queue: %d.", > i, 0); > return -EINVAL; > } > if (rte_eth_tx_queue_setup(i, 0, NB_TX_DESC, > rte_socket_id(), NULL) < 0) { > - evt_err("Failed to setup eth port [%d] tx_queue: %d.\n", > + evt_err("Failed to setup eth port [%d] tx_queue: %d.", > i, 0); > return -EINVAL; > } > @@ -379,7 +379,7 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride, > ret = evt_service_setup(service_id); > if (ret) { > evt_err("Failed to setup service core" > - " for Rx adapter\n"); > + " for Rx adapter"); > return ret; > } > } > @@ -396,8 +396,7 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride, > evt_err("Rx adapter[%d] start failed", prod); > return ret; > } > - printf("%s: Port[%d] using Rx adapter[%d] started\n", __func__, > - prod, prod); > + evt_info("Port[%d] using Rx adapter[%d] started", prod, prod); > } > > return ret; > -- > 2.19.0 >