From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 45303A00C5 for ; Thu, 7 May 2020 20:26:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 989E41DC5E; Thu, 7 May 2020 20:26:22 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id E21CB1DC49 for ; Thu, 7 May 2020 20:26:17 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200507182617euoutp013906c5c96699e1c60963c1ed8814998c~M0kiS1ZXv2482124821euoutp01f for ; Thu, 7 May 2020 18:26:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200507182617euoutp013906c5c96699e1c60963c1ed8814998c~M0kiS1ZXv2482124821euoutp01f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588875977; bh=mox7pMjNd9B3HkyJSoHB8w23vBcmig59Z8VEum0zhRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JBaeCR9sVYhIm3ecW2UR7UsOn9vw5aYfISpEg0YiuS+0H1g1x9qxfi4pZDkk+4+J6 eW4Jvfjfcxie7atSd0UChmMGMu5X714b7ekVAjSOJT0k0zQjdQj0sFu96OBrmbemgO Xp4lHjcRNwS9MGR/STsmoZk6xti5zLYWgG9X9tjw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200507182617eucas1p118e120172281c49fc83dbb6545fea749~M0kiJW6gV3199631996eucas1p1M; Thu, 7 May 2020 18:26:17 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 8E.5B.60698.9C254BE5; Thu, 7 May 2020 19:26:17 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200507182616eucas1p2b6d7e7ac68b1b0fe8b1d71dd112fcc9d~M0khXBLF11557615576eucas1p2H; Thu, 7 May 2020 18:26:16 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200507182616eusmtrp2aff0b7cb26fa28a9ea41a0e707da4c91~M0khWcdtS2784727847eusmtrp2t; Thu, 7 May 2020 18:26:16 +0000 (GMT) X-AuditID: cbfec7f5-a29ff7000001ed1a-c1-5eb452c94f5d Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 88.30.08375.8C254BE5; Thu, 7 May 2020 19:26:16 +0100 (BST) Received: from idyukov.rnd.samsung.ru (unknown [106.109.129.29]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200507182616eusmtip1c3cf3fe947e448c03531a8b24e3146de~M0kgzCVHM3203532035eusmtip1P; Thu, 7 May 2020 18:26:16 +0000 (GMT) From: Ivan Dyukov To: dev@dpdk.org, i.dyukov@samsung.com, v.kuramshin@samsung.com, thomas@monjalon.net, david.marchand@redhat.com, ferruh.yigit@intel.com, arybchenko@solarflare.com Cc: stable@dpdk.org Date: Thu, 7 May 2020 21:26:03 +0300 Message-Id: <20200507182604.30256-3-i.dyukov@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200507182604.30256-1-i.dyukov@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjleLIzCtJLcpLzFFi42LZduzned2TQVviDHYfk7N4MOUum8X2FV1s Fu8+bWeyuLP3NLvFrEtN7Bb/Ov6wW3x6cILF4vTNzewOHB6/Fixl9Vi85yWTx7Gb09g93u+7 yubRt2UVo8fqJz/YAtiiuGxSUnMyy1KL9O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2s XYwcQAkJiddPmCFqhCX+XOuCqvnMKHFu3QewBJuAhsTpjnlMIAkRgXWMEh9nvgFLMAN1tB+5 xgJiCws4S1x6+ZYNxGYRUJVYs/YqE4jNK2Ap0TrrAyPEBnmJ1RsOgPVyClhJnGt/xgpiCwmE Sxzr3sM4gZFvASPDKkaR1NLi3PTcYkO94sTc4tK8dL3k/NxNjMBQ3nbs5+YdjJc2Bh9iFOBg VOLhtfi4OU6INbGsuDL3EKMEB7OSCC/Pj41xQrwpiZVVqUX58UWlOanFhxhNgY6ayCwlmpwP jLO8knhDU0NzC0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWpRTB9TBycUg2MIi8qvtdsYbhv xevjc83qdTr/B56H57nrLl19uFxtvUfekv3WHAzXAmTeM2S2HVEW+Prv9H+z6/Y/vbstCm77 Wty/soRncbxC0fUJX8KMLI74LTn0MfLizMkfvun8ztvSNE166qMnnzZ8ZNi7fpPF+0k/rdyV IyVFZ3U+amE7rH172SpLGa8wXiWW4oxEQy3mouJEABFSfoF7AgAA X-CMS-MailID: 20200507182616eucas1p2b6d7e7ac68b1b0fe8b1d71dd112fcc9d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200507182616eucas1p2b6d7e7ac68b1b0fe8b1d71dd112fcc9d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200507182616eucas1p2b6d7e7ac68b1b0fe8b1d71dd112fcc9d References: <5595669.UjTJXf6HLC@thomas> <20200507182604.30256-1-i.dyukov@samsung.com> Subject: [dpdk-stable] [PATCH v1 3/3] examples: remove extra 'new line' in output X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" This patch removes extra 'new line' in few app examples Fixes: d299106e8e (examples/ipsec-secgw: add IPsec sample application) Fixes: d48415e1fe (examples/performance-thread: add l3fwd-thread app) Fixes: 3fc5ca2f63 (kni: initial import) Fixes: 387259bd6c (examples/l2fwd-crypto: add sample application) Fixes: 20c78ac9ee (examples/vm_power_mgr: add port initialisation) Fixes: e64833f227 (examples/l2fwd-keepalive: add sample application) Fixes: de3cfa2c98 (sched: initial import) Fixes: d7937e2e3d (power: initial import) Fixes: 204896f8d6 (examples/l2fwd-jobstats: add new example) Fixes: 4ff457986f (examples/l2fwd-event: add default poll mode routines) Fixes: 39aad0e88c (examples/flow_distributor: new example to demonstrate EFD) Fixes: c8e6ceeceb (examples/ioat: add new sample app for ioat driver) Fixes: 361b2e9559 (acl: new sample l3fwd-acl) Fixes: cc8f4d020c (examples/ip_reassembly: initial import) Cc: stable@dpdk.org Signed-off-by: Ivan Dyukov --- examples/ioat/ioatfwd.c | 2 +- examples/ip_reassembly/main.c | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 2 +- examples/kni/main.c | 2 +- examples/l2fwd-crypto/main.c | 2 +- examples/l2fwd-event/main.c | 2 +- examples/l2fwd-jobstats/main.c | 2 +- examples/l2fwd-keepalive/main.c | 2 +- examples/l3fwd-acl/main.c | 2 +- examples/l3fwd-power/main.c | 2 +- examples/performance-thread/l3fwd-thread/main.c | 2 +- examples/qos_sched/init.c | 2 +- examples/server_node_efd/server/init.c | 2 +- examples/vm_power_manager/main.c | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/ioat/ioatfwd.c b/examples/ioat/ioatfwd.c index 7255ff3c9..53de23179 100644 --- a/examples/ioat/ioatfwd.c +++ b/examples/ioat/ioatfwd.c @@ -718,7 +718,7 @@ check_link_status(uint32_t port_mask) "Port %d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); link_status = 1; } else printf("Port %d Link Down\n", portid); diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c index e34d8f0e1..494d7ee77 100644 --- a/examples/ip_reassembly/main.c +++ b/examples/ip_reassembly/main.c @@ -736,7 +736,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index 6d02341de..5b3690ce9 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -1800,7 +1800,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up - speed %u Mbps -%s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/kni/main.c b/examples/kni/main.c index 29fc37e1f..6b4ab3b5b 100644 --- a/examples/kni/main.c +++ b/examples/kni/main.c @@ -683,7 +683,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up - speed %uMbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 61d78295d..fcb55c370 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -1756,7 +1756,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l2fwd-event/main.c b/examples/l2fwd-event/main.c index 9cc29d732..9593ef11e 100644 --- a/examples/l2fwd-event/main.c +++ b/examples/l2fwd-event/main.c @@ -394,7 +394,7 @@ check_all_ports_link_status(struct l2fwd_resources *rsrc, "Port%d Link Up. Speed %u Mbps - %s\n", port_id, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", port_id); continue; diff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c index c1ca100ed..396fd89db 100644 --- a/examples/l2fwd-jobstats/main.c +++ b/examples/l2fwd-jobstats/main.c @@ -710,7 +710,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c index 2ae5a3c6a..3a6bf2e47 100644 --- a/examples/l2fwd-keepalive/main.c +++ b/examples/l2fwd-keepalive/main.c @@ -475,7 +475,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c index cccf81929..f22fca732 100644 --- a/examples/l3fwd-acl/main.c +++ b/examples/l3fwd-acl/main.c @@ -1839,7 +1839,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 293b3da4a..c8339ee5a 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -1959,7 +1959,7 @@ check_all_ports_link_status(uint32_t port_mask) "Mbps - %s\n", (uint8_t)portid, (unsigned)link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", (uint8_t)portid); diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index 43a5b9248..84c1d7b3a 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -3457,7 +3457,7 @@ check_all_ports_link_status(uint32_t port_mask) "Port%d Link Up. Speed %u Mbps - %s\n", portid, link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", portid); continue; diff --git a/examples/qos_sched/init.c b/examples/qos_sched/init.c index 0a17e0d4d..9626c15b8 100644 --- a/examples/qos_sched/init.c +++ b/examples/qos_sched/init.c @@ -164,7 +164,7 @@ app_init_port(uint16_t portid, struct rte_mempool *mp) printf(" Link Up - speed %u Mbps - %s\n", (uint32_t) link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); } else { printf(" Link Down\n"); } diff --git a/examples/server_node_efd/server/init.c b/examples/server_node_efd/server/init.c index 00e2e4059..378a74fa5 100644 --- a/examples/server_node_efd/server/init.c +++ b/examples/server_node_efd/server/init.c @@ -272,7 +272,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask) info->id[portid], link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", info->id[portid]); diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c index dc6afb132..273bfec29 100644 --- a/examples/vm_power_manager/main.c +++ b/examples/vm_power_manager/main.c @@ -272,7 +272,7 @@ check_all_ports_link_status(uint32_t port_mask) "Mbps - %s\n", (uint16_t)portid, (unsigned int)link.link_speed, (link.link_duplex == ETH_LINK_FULL_DUPLEX) ? - ("full-duplex") : ("half-duplex\n")); + ("full-duplex") : ("half-duplex")); else printf("Port %d Link Down\n", (uint16_t)portid); -- 2.17.1