From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0045.outbound.protection.outlook.com [104.47.38.45]) by dpdk.org (Postfix) with ESMTP id 2FD0B1559 for ; Tue, 4 Sep 2018 16:14:35 +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=IUWfRE4aHxDchg1h8m7wK6N/46XCIMZ9EZ8A+rhPSVI=; b=T3KPkPHrAU5jz5NBDLo5wo4Uq0AsNzLX5w/Q1VowOWwpzBanWEfJ1gh0jShjb1N09xEx2G1qVbROW5bjcfHWa/fHb9TrfNqUOvMN+q7WH+jAjjw4FpP/fia+l39GdtxeW3gQjEWRexrnsPxIfRrZy/3QpW9Z3kCmyeYSGHhBpvo= Received: from ltp-pvn.caveonetworks.com (111.93.218.67) by DM6PR07MB4971.namprd07.prod.outlook.com (2603:10b6:5:25::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Tue, 4 Sep 2018 14:13:40 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, anoob.joseph@caviumnetworks.com, nikhil.rao@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Tue, 4 Sep 2018 19:42:21 +0530 Message-Id: <20180904141223.24216-2-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> References: <20180904141223.24216-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MA1PR01CA0099.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::15) To DM6PR07MB4971.namprd07.prod.outlook.com (2603:10b6:5:25::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2b786f0-2407-4882-44fd-08d612709e9f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB4971; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4971; 3:FWUWpMPJrm1Pyo+TPFXVh98UqOToreUvqoKfjC/pMuKgTxG72pdX1E3b9iCVONX3715ziyWE7wlrZBtVP39eRdKkkJVj6z8X/4Yp8zdBAbTPF6kPIzWMxk+TuP0vyWXHiD1T1qUZPxFY7c0KXNi+/iFpqeCBDcPVtbY3WF3491sU7l6D20lLq34HIkiDa1dve8DD2yKXrmRJxPYeyIfcIDYzDkHWsQETdJvD9odklRK5cRw9vcTs4BwamEdg+Zjm; 25:uDJRrkG9NRPVoQzon6GuxEYFK/yZ3fJ5sjlYfPwaN5s/xl4eDxMxuhnTEfEy1v+Cqsmzz6kWiE/KOEfUXUl0wKXz3kr+C6UaM/MG1wS61zQOWQclzjTEnfcvDtXrhc6RK88qfwm6BpScQE2sC7kP/0ArofFmwPw2O5dHeNUhlZJ3m4RIg1Pds2gHi4DOhavT31Dza/hN5fk7faf7Ru9bkDTZN5DcYtPbULHr3PRY7sKx2dGGI/0xPDWwK8kgo6ftVnCGeKOZ7oWcVoDZNXfjhpF7TRmMdGfTeMoQJUxYjcj+Y2bpcUowDGW8byTBckk7XB9F6xlO7tRSu2O7hDYWIg==; 31:/UaSKCQu/JXWjhKal6XJqKia6qvbTfCzxORNxu9ArNIcG0Dn1mMN2lbFM3IO2IMkwEyKy6P+a9f7vAOiH6n75RbB6ilwuZuuFawNvtDJHXsUvK9/ThPvFOBelWCzd192m7eb+Bc2CZBmlK0HDZS6SqxvYPDjFjIX7K4xGi+5Vc3NBFSuP9NffmM0p8lTf4GTSJHvnDgILJZORQeQk5l3al2IPN3WBpzeVt6TD9Cx9yg= X-MS-TrafficTypeDiagnostic: DM6PR07MB4971: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4971; 20:x/acptPG78v045elV1VkNTgermgsgzU3C+JpkE3SzgenGPZuOEzHydofeEHL37bi1yGO5zaRPUnei2tMbjAk5eWOGdVUbt1uRbI8FCwvenTeO82tfH3bQJ10Aml09eBKs7sFWggItPU/xSVjANHo2szo0DHxhyDX8M7Y9hPB8WwDhGdNEnUa/89HLY8z2QCAbrHcpBJHovYhbmOdIvXchcn3kEI06Fuf3GW+pQzlF6QZ1JI/kBIGiohqnMcS10MdY6avo6vb8Gpou8YuOrxs0FOjmtpBm+k1zZ3R0oI+qCpGwsIShBf4vMSgjgzQDw8pQGkXiG0MjEwj3091lNNNUsJK7bbcyfiHjbkXPj6pIZBky1j/KpTRAXr8T1/zfvFfW3PDFADWzAKxTS4iY0fvN0V5hBB1r1msEmvjsjCNf73p7J3XOZpg/jbWpO9LH+nPQsgRJBOedtN7vYB2Qh3+TF3eRT95IX+iq/8UjfrSZcbP70mdr0u56VKEQbeORn5yDXOFdMR2K+23Nr/W9hHcE0pLo77L1d81VkPslhPz60Jskl9SWSJmt4goUYrPPe8NF2Lpb29o4J3LxKpdsA3MPIH1mIIsIGxxsKiDTt0Cl2M=; 4:zZM9hKNJG7OsNmwwz3lRXMLGdobVlCGilrG/ndSX/1FcBwH5tnPJ8iUfbvNVKqRixvtpLrDEL1dQw8FZI/UjmnD4t8AN8RDfoS0G5tfjF0suDRnosQG570N2tQgXO2rBmoeUgnNFu5R89Of7tD2atcwkd6PwQUCCdOrTD44o8LHNz+wYOpeYIVlEy2l/RsO3rU3EskpuM8gmjVCjerNKqyhLky/4Sry4ErQbiTie0dDVrY4XsZLjaZjBD+PSYyi94RChEPFiqHbIo4CkX/LRTw== 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)(8121501046)(5005006)(823301075)(93006095)(3231311)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699049)(76991033); SRVR:DM6PR07MB4971; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4971; X-Forefront-PRVS: 0785459C39 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(346002)(366004)(39850400004)(396003)(199004)(189003)(51234002)(316002)(47776003)(16586007)(66066001)(107886003)(6486002)(25786009)(26005)(53936002)(50466002)(6512007)(48376002)(4326008)(386003)(486006)(11346002)(446003)(97736004)(51416003)(76176011)(956004)(16526019)(1857600001)(6506007)(42882007)(2616005)(52116002)(5660300001)(476003)(81156014)(81166006)(72206003)(2906002)(50226002)(6666003)(8676002)(478600001)(36756003)(53416004)(8936002)(105586002)(106356001)(3846002)(6116002)(68736007)(1076002)(69596002)(7736002)(5009440100003)(305945005)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4971; H:ltp-pvn.caveonetworks.com; 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; DM6PR07MB4971; 23:yg5W/kJOfsTrh++wV7Mt8btzDcXNiNq3DdHew3tZA?= =?us-ascii?Q?AXcMWVjwQ06iASjKsztaKVZtvTptDHte3UPIEWmizEogOWfsW4Ig0X9c8Dn6?= =?us-ascii?Q?fjVrcodHfY7bNmqXdXm5FN3OPM6vIDwws4tb8czkgqkVzsnPrzCzey9H3KJI?= =?us-ascii?Q?HIaR4xuNMD7hkuNgg1l2z3oqui98RhOTUykW+6pj9CAJJ7TWH/SwqDaE1/Tf?= =?us-ascii?Q?EwQUQ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EbxeFVQ+svf7i4Qt1vD8xGMXvcGjhSyRjmXhGQd0qZe8kzmX9VsCISBG3FXZIxvdfr+ICaaT2BfqF/RMrnCK6SUzlNmKZY8rWw==; 5:vH+LLDLY8Sh5AevICRc4Die4czIAICzu32Jft+14bAofKDlZTU3NVpyI3g0mjgydNx3HreyQlTsWpGGgAeQDiljerA5YZF3aEHj1Y6xol74XOPB0UiYsTWDraXxcqCuK1RwCEZY8XM38SpIVKnqLXCh+CcPgFO44zVFrLNACzNo=; 7:6Z5sxzI1W4JeeM8Nc7nPisfHU5fupZvEAAwmNM70EtHVoK+reeLrACPWzFUvHQsg9o6o7pHrN/4t8iRDXvsmV6gClWx5UsDBX5S9hWtnAnK+hvSut1EFDPMzSs/nXWygfdgef467tbSlMnvUhTGYGq18IPDeeinTTKVNexhF+u+VgMrff3t4SjcQ0yO9Jpo3i+b3kEnfO4Nd4J0G7XcJf0Q7KaUl2fCWCDlKLDWkUOca9RfpU+ItCXfOp811Fgcm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2018 14:13:40.8566 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e2b786f0-2407-4882-44fd-08d612709e9f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4971 Subject: [dpdk-dev] [PATCH v2 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: Tue, 04 Sep 2018 14:14:35 -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 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