From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0059.outbound.protection.outlook.com [104.47.33.59]) by dpdk.org (Postfix) with ESMTP id 0A5BE1B122 for ; Thu, 20 Sep 2018 00:23:11 +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=t9JR7VdPtKIv35qTLpxWLdnKer+JDerWd2lCduUQ/sM=; b=gljT7PcqMFFdHOMGPyL3626CtEJnpYX0SDgLLunJMu3IvcgJm14wpKuugrQf4goj6bP6it9hnoXRLrMOxI/s+VWwK6NwYCAbOPg4XWKYTjvL/FIKdzLHxzawhXCYivgcZNi5VmQmipSHHeTnJqZzOdw6AbOOS39eQfJoBveKBBE= Received: from localhost.localdomain (115.113.156.3) by BYAPR07MB4965.namprd07.prod.outlook.com (2603:10b6:a03:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 22:23:08 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, anoob.joseph@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Thu, 20 Sep 2018 03:52:33 +0530 Message-Id: <20180919222235.6239-2-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180919222235.6239-1-pbhagavatula@caviumnetworks.com> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> <20180919222235.6239-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: MA1PR0101CA0003.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::13) To BYAPR07MB4965.namprd07.prod.outlook.com (2603:10b6:a03:5b::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e0ab6f39-657e-4899-7f40-08d61e7e7b47 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4965; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4965; 3:EPHsFkfqVYvc6W/LUXe18zO2zTfWBW3R6fI5v/D5l/Q/LPb2LG2j2sdJ5s0ljtFEBy29zTs4MGAw5iPNe27pxvcNJNf1R4Tbyki2aSAN+d5dQUJuno3B+lhdpYEtLq5dg/wunnDPYhtll/CF0xjbMYamcq29AHabqM9egq2fkMrUjJnnUajmi1t+V16aooFeepZt4yIjRtC845rYY+NQswmWFcufLT5qRb0xVgPe61mftOXnCR1rY+y13B1mifkD; 25:fUa1FjVDLYAhWhiBf4medKWhZA1NJNCApC6tYXJYVIiy1DEYNJKwSG5sE0MQXvSqJQXU7y8mjQ9d95TkdRrNUUCPEP909FxnhycYjqwVwnxgC1Zc7aOwLpvDZZ6HarKULZHsE5t9ISIQ0mWrQ11CxG4pfEbM9gNwBSlB/4Qdm322iga7miH2eoNtLJdpV412ptZrjLoU5qmswAoTU0kHyYqOdWOgZlHj9iTZHYyWEAK1v+E2+VjY0UwgRcu7f0PI/NR9hApL2CB2iDYxBd00GpJ9n0LFNIob+tn4B7KS5jDQBdvygHUCmvEPi2sEOhbnFkmanRpRNrojGFsoX78g9w==; 31:A8sdqtUGgt7ZsiTEfcYs6rEMZc1MAo9Ys067AJgDSobOPQo7HsSTsgUObBqeHIwVPilgnPZAINB05tq/LDelFTSx/k5YhvMLzcEd0xFRGYFNk14leuiSwdEYuXuEx1daIfJKsLEOF5cf62UeXGzB5Ta9K2p9SVoQGTbj8DD/m7Nek66NLo+Obyw4wPl3nQBR0Sbl8PGQZaEYz6vu31kekWFogEUpLSoVJ8lQA5CmKWo= X-MS-TrafficTypeDiagnostic: BYAPR07MB4965: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4965; 20:Dc75g5RihmO3AFQxg92EVFmgZXHOGXiMj1Y1FEKLtvUoMzXChAkDP/nCpqXa4aAWh4BRx9KxqLqpy1uR18Da9h/DJMLyu/SzmBWIXC5vAQA+N+dhzjXmXf83eWyM7T6fow383FvJVN0PkhD2UY6Nrvu8dvUBPeFG11Et3SrtTwlLGLmSnPU7hbLJiIACsJGOr22OHwM78B+6NoaKUTRshifBMFNtKwMcns+099bHq5R5qMcObZhOcF95NQys6ilaskvHlMcbIaM5ElCOxk61OfXMR+6aFKzCkWUoajO8wurvZvTrwF5oN/RgGCNtVgmtfLuffWU5oMJsARwJmnr3TkFef2PJOjui2mJpNzRotnvulMJb/kG1Co28n0Gd31LJ26rD0XJ9E1xXDKN6MYsIr7+yK+vFy3xPEGB8gC7U2b6ZDNtq1evsdr5xNNg++IhL8YZO5MOoQ4iLzDipcgT6l/T/QaZrXSENvszRTKYaS2Bc3gjGJxY/B8+9A/gBn4E5a8c8z0p7Xh/dKwwtFbR1dzCWw6N0cuv3kCJ1koSt6uG++2L6aosYUS7LmmI8HyxDdnOtyjXSwauc0ODWeYHySr8FdkyYNmo41fEEaITfniI=; 4:kZABtlGoRHwL946Mmml0s81XMYVyMuyhgNG/oxsF1D403LfEkYQWsDb/GaZDb6VCmIXuoPkNAaBzMjkLog1w2RB4qGhdZdBP8IQilmEJQ2ZAAxe5v7v+lsgghJhCyA5kOAmfqiPzPTE8GskB0XhpKxf0QF0GbnkHx+ntYpGUOMKsJthAg89OYU9Axa6DtCwRv8kknhx4ylFXP7EpAQKiCjpdHtawzNrT532Q3+Qvkf+ZrbkmzmVmuFXB2SwwZKooziU1KLN8jlHnUUNw35OnjQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; 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)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(201708071742011)(7699051)(76991041); SRVR:BYAPR07MB4965; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4965; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39860400002)(346002)(376002)(136003)(396003)(366004)(189003)(199004)(51234002)(66066001)(6636002)(6512007)(81166006)(81156014)(6666003)(53936002)(48376002)(4326008)(1857600001)(316002)(50226002)(486006)(36756003)(8936002)(446003)(11346002)(16526019)(26005)(476003)(956004)(8676002)(2616005)(2906002)(42882007)(6346003)(5660300001)(68736007)(16586007)(97736004)(47776003)(7736002)(107886003)(6486002)(72206003)(478600001)(52116002)(105586002)(50466002)(51416003)(1076002)(3846002)(6506007)(6116002)(69590400006)(386003)(25786009)(305945005)(106356001)(76176011)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4965; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4965; 23:JrJLR+DZgM/Bo9V6c0bcWtCcleeumRtm59Tq1urFB?= =?us-ascii?Q?LF2bfWagNdsNQJI/PUg7wHBmkoR/fmd2qN+8TioYa3FR18SG64jNKTLPbMFS?= =?us-ascii?Q?PKrTgRhgLhdEXjUnMydOu5VTVphPJzpq2VQn9/BCkj3TFe/VrxQ9BgR4NyO+?= =?us-ascii?Q?n0wlvZQus0cQ0XpTUmNHyo7slVvu+DDodmq5T11GTh0Bv4Qz6HgX8tMttyyn?= =?us-ascii?Q?BjfyswBe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8Wip7xJLvhGT0cWdehot/qLHKfdN14uYFkO2AlVNYsSinJt47taZJWSwy/tp6js7X9P9njTP2OKgp3NW9q2MEzDV5siMztsSExlwfFR3uYhGhcDolJN9JzKHWw5GS/ZN0BNsVYcaNRpm19zYSLPtFbQBGCxwA==; 5:2jZE49JbbjRhyAWjn7fXlvx3VsfDyQ2gI704kNYTWZ8UZAei50D0S75DDOGhoZ6EoHPFp2v8B31BeS/PFV/HtL/6j2/SxFkk8UTb73rVkqelf0b9JwLTis4ZAU+gdKwrTCTinLlbwVjBQBTMaeROYBDAP4lhy3qbQC9/Av2U+sg=; 7:c3n1F5aXzXm6WyVNm4bV9YaWFl472X24ykDM9ijh0YctwXNLAN67/8v5eHUYnNNgLueKbWjHrC2O5N5h6gKBaqbWz8S2w+SF9Gtv60FoYaKkb6I/7QDDl53c4GsT3WUsW6ZgMjQj8eX8GaGPFYNKETYizOd/gNrkviHUg264c/9+OdOeDbEYiQpZNQPPHg1xxuoxKZ8h0cC71araeqEp/uGZqcRAGXHBbEsZ2+/oD/I3QU30Vx50dSOj27eyqEOl SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 22:23:08.5624 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0ab6f39-657e-4899-7f40-08d61e7e7b47 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4965 Subject: [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: Wed, 19 Sep 2018 22:23:12 -0000 Signed-off-by: Pavan Nikhilesh --- 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