From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 13694A0679 for ; Mon, 1 Apr 2019 18:09:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 012234F9A; Mon, 1 Apr 2019 18:09:14 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 6A21F4F9A; Mon, 1 Apr 2019 18:09:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2019 09:09:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,297,1549958400"; d="scan'208";a="333973817" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga005.fm.intel.com with ESMTP; 01 Apr 2019 09:09:10 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.102]) by IRSMSX152.ger.corp.intel.com ([169.254.6.139]) with mapi id 14.03.0415.000; Mon, 1 Apr 2019 17:09:10 +0100 From: "Pattan, Reshma" To: "Hajkowski, MarcinX" , "Hunt, David" CC: "dev@dpdk.org" , "Hajkowski, MarcinX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples/guest_cli: fix hardcoded lcoreid Thread-Index: AQHU5VmnuDlmskImkUCJIyKbSJA9GqYnf1UQ Date: Mon, 1 Apr 2019 16:09:09 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A4339D7@irsmsx110.ger.corp.intel.com> References: <20190328112841.13848-1-marcinx.hajkowski@intel.com> In-Reply-To: <20190328112841.13848-1-marcinx.hajkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTY2OTE5ZTMtNWJiYS00NWZjLWE5ZWMtN2IxNjM0MTJiYjg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWVwvVHNTcWh5VWpkeHVhXC9JT011VVFjamh1em5pdXhZSUd3Rkt4Q3daZHA2eXhmWnB2MFBlRWdFMDJCSmVrYU0zIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] examples/guest_cli: fix hardcoded lcoreid 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" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Hajkowski > + if (lcore_id =3D=3D RTE_MAX_LCORE) > + return -1; This check is already performed by rte_power_guest_channel_send_msg(). So i= t would be redundant here. Thanks, Reshma