From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 814C0A0093; Mon, 7 Mar 2022 15:53:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01E9440688; Mon, 7 Mar 2022 15:53:04 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id CE8564014E; Mon, 7 Mar 2022 15:53:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646664782; x=1678200782; h=message-id:date:subject:to:references:cc:from: in-reply-to:content-transfer-encoding:mime-version; bh=UhPVZm8OrYFTy8JEdnukyE3zUm64qHk5SX9Kx+eMtaU=; b=PxSCPFAHG5W+Z9kbh24Mr5OMBj6HJSLvzrD6USLTswr5203+SOCiISYo nBEYlCnpCobqeYMScD/9mFHhbt17XiVb8bGNjPz5n+T6SGXIA8YnZN4l9 C7VITLvKlUUvaDPLww4DtQqDhnJFsDXEzb7UfC61MhId+gOvZOdXFvK/X jiS7NEm2G/GHxzTT07UWctWugJ8urcyA7JiaybHNxb5C27wwv+J3iddsD yVPEC75LdOkcyMRUykexYkARaHoZ7zhfpHoBpwdV0w6A+tokqOD1MumSP Y9AE6OCa1AZBEeGiizXRKI4qrWY80mfihF3/oyOJCMz+SQJNOreWiM6jy A==; X-IronPort-AV: E=McAfee;i="6200,9189,10278"; a="251981332" X-IronPort-AV: E=Sophos;i="5.90,162,1643702400"; d="scan'208";a="251981332" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2022 06:53:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,162,1643702400"; d="scan'208";a="553183162" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga008.jf.intel.com with ESMTP; 07 Mar 2022 06:53:00 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 7 Mar 2022 06:52:59 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Mon, 7 Mar 2022 06:52:59 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.45) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Mon, 7 Mar 2022 06:52:59 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DqikCRO80h6Rp7j6f6A3t11uHbW0NC9qr3QgRS3RIybxahbAZUcvfNM4NrmvpxUlPdtEEthuSf0RE+IQPAyDCfYo6/OjUw04CT88/RilXvLwjXDzuqNbAJLLohKQOYmOKd9RlArB0iK9dD66XxXcQRhNpl4nJ5gSVcL7vOAL9KMbZ3XShqhrWFejVsDcYKu9mM+8nJ80Xw2thoZHpn/VQoQMHJfVe8dVY9Ylk2KVrC7fkA2/soDgH5WArKtJGvbHx6PM93KNKXTWlq3CUa7lc7SgZuMlFIOWqz4CausKAGoWj6YZUOjT1ige0DB7niylW+HIcVG2uzAFjk+tVMl6SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lGj5G5zai6zLKUa2XNLQLtap572Jkhku08hvcooMFOU=; b=lI/vmazSzsOiRuU3N0752d6lBTbhlccGJe+hdql7pr1+/My8CgdkQfww8lfUnRTeo9tfXSIl8cf/+ec5L9x7dMwvxcHazSVmDsYzgkB21N4gSXC5wVLBg18aPVKguXiiLfzSMqjau+gberk/UjzJ+E2UkGYvpVHexEvDxMg9qA/p8CXPGognQpwobkPGAE/CvXrYsSzBO+IkWdaWWf2eDFQVQDnQBwEgFormuVCeeYNwignjkJHl1JphSik89w0wTZkNfXnl4AHfPddXkEzLiTwYgwfsu5vq26TI4ei4RNLqyZWUI7WihpRkMFxhj1o7CQZhW4OnahqdgpxleEu/Hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by DM6PR11MB4059.namprd11.prod.outlook.com (2603:10b6:5:4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.15; Mon, 7 Mar 2022 14:52:56 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd21:6fbe:8308:2ecf%7]) with mapi id 15.20.5038.027; Mon, 7 Mar 2022 14:52:56 +0000 Message-ID: <2784dce5-50da-7a27-856b-05d7d5a7de0c@intel.com> Date: Mon, 7 Mar 2022 14:52:48 +0000 Subject: Re: [PATCH] examples/kni: add CR character at print log Content-Language: en-US To: Tianli Lai , References: <20220307090505.6598-1-laitianli@tom.com> CC: "stable@dpdk.org" , Ivan Dyukov From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220307090505.6598-1-laitianli@tom.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0501CA0015.eurprd05.prod.outlook.com (2603:10a6:4:8f::25) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7fe4737-4c17-4c94-84c0-08da004a2a3e X-MS-TrafficTypeDiagnostic: DM6PR11MB4059:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3Q3fDYNF9nWOxZgR127p6Tr2ajzgbUcEuO+/m/q54UJA4fVwl+yg5o9VvX3G5NgqLWF4+6BKwHciqoEGSU39+nuiacwoVAebITHw3A9t04cf63WECU9qFigeUfxOoCFAhVitUoKN8vjpdckMVx1keF/yjEHgJtpt3SjNguCpCyqITyQ73VTpRrt5LbQ9JPnl3kudGma97CIPs3j463RcZxmTmSGJGPSr9qVrOJ8tIbGoNb2hMalZUBrLdoGTm2GTovddKgyyMu/jnqXYmP+DgBJnOfiTJpuNTWCQBqv9ftDI73qAi5XrtVBzYa0wBwNIAGwf5njeQNk11usbLYb3Xy61p/rU62R+A3EeImhFbrd9FLRWmPZe0zuj1NCF8KpKPap5IlV3h1B+3FZEpWPq7i9H3L9BHbmEIkWIwJz19UhSW/mU9UiTUpuVxqsdPk+pP0gn7KV8ooN3zyz81yMOn6udCblZbV9SE28tLYQw2TEZx8zTJmAL+tj02qgRrm/i5UzVOeSWWvfoNvBbxaZ4+jZHiiTp82uwplRwAbTWYqVBC327L5UJbDvzKthoPrfqPXw39qgc8pohTsvnsP5Vx5OnbYLPWbZQkm7NLlwwP24i6IuRVFBQHrj5otjsqeTL3QXz0VlkKqbyBbfvDIWkT57q9nkquVUDJCiGkjllvPwNz/tplUM8BLkB0liFPoMJKTQ15S2yLIJaev55Q5MEjA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(31686004)(5660300002)(4326008)(8676002)(66946007)(66556008)(66476007)(8936002)(38100700002)(54906003)(316002)(44832011)(4744005)(36756003)(2906002)(6506007)(2616005)(186003)(6512007)(53546011)(86362001)(26005)(6486002)(31696002)(6666004)(508600001)(83380400001)(82960400001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UVdySUIxWkI4Uy93b0VTR0RkK0pBbkY5dzV4bmNsQS92SjY4eGFaY0ZiV1ZB?= =?utf-8?B?SFY0TWpJN3NIUkRBNThSWHV5NnVpbEpZTzFFR05jZ2VmeGkraGlsN1FyZ2RP?= =?utf-8?B?ejcvSUV2N2R5Q3ZpTUJibHVmV2VXbkxHTGpZY3NSM0NGTzl0WGthRU9JWGQv?= =?utf-8?B?ckNDT2VIL2tGMVpWaGd0Y3FPaCsySFdRU0FLMHpranRYdXFRRllKTG9LMEty?= =?utf-8?B?MUpGUFZMWlI0eXprd2ZKREhCSytRd1N5ZEF3NTJ2UnU5ejdNZXlMVWg4dlI0?= =?utf-8?B?M0JvTUQ1NjgzQ0VyRWlxdUUvdVBjUHdEWGJ5aTk2YXFBMnZlTWdPZDU5Sm53?= =?utf-8?B?Rm9meG5TcDY5MjB3RzFPM2lKaXdCdGpuSFBueHBUSk45cHBCTStyWjR5VTVM?= =?utf-8?B?cENjekorRkMwQStsZXhhcUh0eU13d0FSZDR5OWIxdnRkZFBJL2NLS0ZqNlZ6?= =?utf-8?B?QTdmV2xNVHpUOVhlUktsdjhMQjNURE1TZ3htTUszUUVzSlJLR29GZGNQYzMy?= =?utf-8?B?N1VLWmVuUmZhOUVY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8?B?Z241aUVBYUVkTThFTis4eUhJWTFiOWw3V3BYSGlhayt3bS9hVHp4aHZFRWxw?= =?utf-8?B?R2hrZGJ0SmUyNFNRbUp1cU9wWHZSb05UNlR4Zld6UUJpRVA0SjJFRytMdVVI?= =?utf-8?B?ZEtVZGZ2a0R0WndFUXQ4aXFPeFFDeWxsVHRUd1AvUlQrNTkwaVBnMExrSmcr?= =?utf-8?B?OVNEKytveGJrWTRRa2k0Q0wrWEVsWnFkTld3ZHZTMzdvb2ZiQ0RZWUJpQUhF?= =?utf-8?B?UmRkR0ZSeHFEQnU1WHR5dUFhZERLWWFreThtanZlMFdvcVhJZnpLdVJWaU9q?= =?utf-8?B?WjlnQzJHUjQwTzVjYlBueGNTSGphVnk5V3lNS2kwbjQzWWtOS2VEdlNoNEhG?= =?utf-8?B?RTdJbFdKUDREUXQxUlFybUMvK05HS1J2SFMvRmE2YUlqWUdKK20zL1B3cnZF?= =?utf-8?B?ZzA0cTdKYklaRTlBajZKNXQ3YXE4R2JwYjFZT3J3M2JqTHhvU1o4N1N3Ylh0?= =?utf-8?B?aDZNOHlFeExnNzJ0RGtmRDQvcXUweUdZbVVzYzBsU2lkaWs3cVB6UmF4R25B?= =?utf-8?B?Q2hEU0tNVDIyc3JsSDZCaWpZTlIrWE9nTHIrL1pRSFI0alQyb3VIaWdYYXBl?= =?utf-8?B?SFd0WWdvSEMvUTZTS1ByeEI0T3Q0NnFkank3d3dzZ2FMcTkrQWxJNTVvU1NH?= =?utf-8?B?M29GUDZUc0dSVTlqQm9yN0dCMGFLZyt6TTZoSXRsWmY0bFV0dlVOVlI4Y0w5?= =?utf-8?Q?2EtS5achHKQNqsKYzFuD8H4=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a7fe4737-4c17-4c94-84c0-08da004a2a3e X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2022 14:52:56.5646 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0V9WhMKawaNQKlUbGDm1SYKD/hzwhVv1KCtB0e910jfJQnEKBYLxIZvv0E43oF56fbwJT5daXRI5WNvcqnsiwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4059 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 3/7/2022 9:05 AM, Tianli Lai wrote: > add CR character at print link state information > > Signed-off-by: Tianli Lai > --- > examples/kni/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/examples/kni/main.c b/examples/kni/main.c > index f5b20a7b62..e99ef5c38a 100644 > --- a/examples/kni/main.c > +++ b/examples/kni/main.c > @@ -719,7 +719,7 @@ log_link_state(struct rte_kni *kni, int prev, struct rte_eth_link *link) > > rte_eth_link_to_str(link_status_text, sizeof(link_status_text), link); > if (prev != link->link_status) > - RTE_LOG(INFO, APP, "%s NIC %s", > + RTE_LOG(INFO, APP, "%s NIC %s\n", > rte_kni_get_name(kni), > link_status_text); > } Fixes: db4e81351fb8 ("examples: use new link status print format") Cc: stable@dpdk.org Reviewed-by: Ferruh Yigit