From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0054.outbound.protection.outlook.com [104.47.42.54]) by dpdk.org (Postfix) with ESMTP id 7DBD92C15 for ; Mon, 24 Sep 2018 10:02:58 +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=UfftBXwaj4cCadQacDiY+Al0x5BTuTdpIulD8vrbSdY=; b=K1+WOrKaOB9rlFET3k+CmaiwdIr50Z8+p2MIAXiUFpV+rGGqiqSVkK6JkclQSMe6ry/MOgtuPPBjnZdaYMvDt74YPpGPZDowJEdBhGjjr1UBXKRXTnBlDr/HENcEOtRqHVnHGhPk46tMF4Sn9fplQLKtKZA/7YLXThy5AeWtSEw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (115.113.156.3) by SN6PR07MB4973.namprd07.prod.outlook.com (2603:10b6:805:ac::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 24 Sep 2018 08:02:54 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, nikhil.rao@intel.com, anoob.joseph@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 24 Sep 2018 13:32:18 +0530 Message-Id: <20180924080220.5569-2-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180924080220.5569-1-pbhagavatula@caviumnetworks.com> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> <20180924080220.5569-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: PN1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::17) To SN6PR07MB4973.namprd07.prod.outlook.com (2603:10b6:805:ac::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6a19fcfb-f64b-4457-0f95-08d621f42344 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB4973; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4973; 3:mrDtNEfMzCHpWVyr8EFH2P+SJcS1bkSh2VigGOvq5rvxTW0UVtlPceni5tmzhI7bPYM2J9e6UuC0FrMVD0PDM1d8sebD6kNIDXRUvmeUfVTV0vdhV5Onyyp4eFtbE5i9c/fruPnwl94Ady4tgdnecZ4ZIiZhYKBNw6D4hLOyO1t9nFL5piQp99+kLLVkbaleGg5/BNjzffdvhCyJU0S1PbLobI3MOayfC8OrFNZuKZTTmF0S8DT6g4D4cu30IktT; 25:SGYL8gE/TWb5sxuICKvQCY+yMsGD9IgG0w2hWR7izRyrL/zIuKEZfrl9IJ5nNh3k7YOZzp6M7lVmaLZpGwKLnNQPx+gzoGws5bEL1TA+0x1MQ/p93Y6jQHPAu+JUP3v04+CY8m09C4Px0CavRf2wln2CAZqQwdY264Ob3vq59i9fpr/lxjL2HWfJhAtCvj9N6mwDMNgSxO4u7i/ZRjlncwdf9l1N/PWotYRUHegE/PSj9AGHmjn4sG4t8yfXJ+jy4BMWBdhZ3kh6IAgq9zjGOKQC67QyZsj5o52BFmK0/pfP2FO2jZAWlCXKosV7pC9htk1lJCHHrscbhLLrEIFiZw==; 31:ZlGqh0SPrFrF1cLAc10GLg0z8cYJjSM4luyu66lkpLoQstReLVlQh69MTUMIE1capoB/YqXHEqZjarLywjELorxpO8uiEBnmLH3P6JoY+VjSwAmH6ZdHTMplPqIMpC93gvh4FO/YChKIcwv3mPUvqF4tIG+mbh9reTprGu05uqUIE/a6M4XSKOP1G31ilBIx8zt6Xm4ORrKE/HifFNksP9LmhZcS04aB9LM+D09HIQw= X-MS-TrafficTypeDiagnostic: SN6PR07MB4973: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB4973; 20:tTlasliHbNkf4DJsvBZ0VECIJLbcDQA7BENjgBx2Q0AuJOwO2C9m8WyDUOlqtYAwR90iETd4wMKu6LWz+IhE3vgdTaoaReDOsvDfaB3XcU5+9NlSZRfR6UTGOvmtfs3G9rKk5LGbxkoPPcChJmfh3mtXD5aQwYNZhfQV9Pptfrcffpx6kYM4ZCD84sE4IhfkuJ4zRikZdMJvY73YIw9qTdzSJ9+KDImQYj1eCyBefhA3/9Vo1jyZy2PH/1i8GpDRlgLjz7MeeC1Wp9szgXhUcU3GCQpMsNg8y6A4uzuigyRgHfYTlPtZNX93Xfp5HZUILv8LMql4rh4jMXDI9cGvJNjpGrjW12epfdiffnN9Iw2dA/CRYfCrBL68eQqUTJwdrwFMwbgYAmKa6h75wXNMdiNW8iRQ+UaO1a9ovqq9iKypBqpvYNGi0EovkxmthXEdUJhRFG79NRQBYRbode9LkbGN7YY31yN3QStcFX8+gNGBPcJIEMl4IBRs5CBznahJq7VTReu8CDsMU1ai5RozkP8G70Xc8HA0+Ow6aE+tTyUW2dKFx8GFGJF9WVL+jdAqaSZdhKML4+uAucDmCShZzp52WhdPW5aSZZChT/kDYRE=; 4:L/tlWswn6kwk9+IgZKIcQEUI4OeZCQ1qo7YTXB8xp7zgTughIBdgt63MKi/1pfAIVmOZcuiVVPPAbsrby450mnVdRQgwfVYJeYy4lBpbxxJhR/kosyiLI6M6GLL7Mg6pwTImo0/FXwMRdLQmP9gYzujIbCmEqIClBQmVBaGr/TGvfl2MNjpIlrFd8MvruuyndK2ruvf49czhGVvJwrH/LfyZ0dJ3UYTVCdW3ufOp6qhx3IZwqeWMdcfFD5jLGhaTl/CbwSgxGmRB6eNdtk4GEA== 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)(10201501046)(3002001)(3231355)(944501410)(52105095)(149066)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:SN6PR07MB4973; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB4973; X-Forefront-PRVS: 0805EC9467 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(39860400002)(136003)(376002)(346002)(366004)(51234002)(199004)(189003)(11346002)(8676002)(36756003)(2906002)(68736007)(6486002)(6666003)(81166006)(107886003)(478600001)(7736002)(48376002)(97736004)(50466002)(81156014)(6636002)(106356001)(105586002)(5660300001)(25786009)(72206003)(47776003)(50226002)(8936002)(4326008)(305945005)(6116002)(3846002)(2616005)(956004)(52116002)(26005)(476003)(42882007)(1076002)(1857600001)(486006)(16526019)(76176011)(6512007)(53936002)(51416003)(66066001)(446003)(316002)(386003)(6506007)(69590400006)(16586007)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB4973; H:localhost.localdomain; 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; SN6PR07MB4973; 23:avbYpYUTI5tKIklJw53piKDd/2+AYHCR2N8xVY2i8?= =?us-ascii?Q?R8wCETYsEIGzdT37/hX8nCJM8eOCgmhLrPlMzCveTVeWso6b7dfXrw/dRKtb?= =?us-ascii?Q?FJW7TEsEvwX1Sb2IHifLZQNhWGkoxSKSUch7wGNpcf8Fpy4T0x7vOdZLvWA3?= =?us-ascii?Q?2BgtAH9Ux+wKjxgTjeExuZlCxXtlwxRCpyyBxJe67L9DgnGsFgwl2AN/1acW?= =?us-ascii?Q?O9zVWTxs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HnhDBPeghSRSVOwV2ssqYxIDZt+RVP+L8QRBD1f56kE/fXRD18VpUwMV5Crzb3WMz2ivQS8FebcOyI/7dFEG1+UQvvHTmaZuuQszspxA==; 5:21/RfoXn1Grmtm+Kh6ObLLCl3bViqmnM+EUA9CWR20muor9srkMWg9cdr1OZd1l7qXpODnwWluw8lFPl67bgTyPaQDHveaVRY0IZkEiRLUgyxLXUohv/gCKq+LeoHpmHe2K+xKPccMt4594uMqJfmaIVnPF6aRjmfHMyRCiPJE4=; 7:FFgmN5B3c6jjnzgfXK/pnWW+IgFUyxXiMHK0oz+olsRhHeDoDe3UHWXlkKv5Dd8rty4cxgiAjEE7gYyUVowDmS+TKqtsZO1pW3n/p+FrLg32xf7yRGF6ei2VH2tJ8fhu+ywKrPro/m630/TDXlBUMDGeEyA6MJoj3A/ogC0H5gRGWk3qVzbVl3mDcMZMeH0ptwo2J0USlQbW0DHCHvuhL5PXXfTFC7+OcG8AsMBCesUwZdXuHWetRSfLRQsJ8B9V SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2018 08:02:54.6750 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6a19fcfb-f64b-4457-0f95-08d621f42344 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB4973 Subject: [dpdk-dev] [PATCH v4 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: Mon, 24 Sep 2018 08:02:59 -0000 Remove unnecessary newline at the end of logs. Signed-off-by: Pavan Nikhilesh 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 a54068df3..832ab8b6e 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); @@ -234,7 +234,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; } @@ -253,7 +253,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); @@ -262,19 +262,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; } @@ -380,7 +380,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; } } @@ -397,8 +397,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.18.0