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 C20D8A0613 for ; Fri, 27 Sep 2019 11:52:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59EF63977; Fri, 27 Sep 2019 11:52:41 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1C4972C08 for ; Fri, 27 Sep 2019 11:52:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 02:52:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,555,1559545200"; d="scan'208";a="219722007" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga002.fm.intel.com with ESMTP; 27 Sep 2019 02:52:38 -0700 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.184]) by IRSMSX154.ger.corp.intel.com ([169.254.12.160]) with mapi id 14.03.0439.000; Fri, 27 Sep 2019 10:52:37 +0100 From: "Daly, Lee" To: "'Hajkowski, MarcinX'" , "Hunt, David" CC: "dev@dpdk.org" Thread-Topic: [PATCH 4/4] power: add cmd to query CPU freq. Thread-Index: AQHU6kEB2+fEcHVAaU2ibX5LRH0x6adAXIWA Date: Fri, 27 Sep 2019 09:52:37 +0000 Message-ID: References: <20190403171601.9788-1-marcinx.hajkowski@intel.com> <20190403171601.9788-5-marcinx.hajkowski@intel.com> In-Reply-To: <20190403171601.9788-5-marcinx.hajkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDYxNjYyMTItYmY1ZC00Zjc3LTkzMTAtZTZhN2Y3OGM0ZWJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT1RkcHVrbW5UZ21lazc2MFVpU3pcL1oweTZVXC80eWQxYXZcL1lneVFHY1BBK1JSNTEzc0dyWmpKRXJ0aEJXR0hBaSJ9 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-dev] [PATCH 4/4] power: add cmd to query CPU freq. 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Hajkowski, MarcinX > Sent: Wednesday, April 3, 2019 6:16 PM > To: Hunt, David > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: [PATCH 4/4] power: add cmd to query CPU freq. >=20 > From: Marcin Hajkowski >=20 > Add command and related logic to query CPU frequencies either for specifi= ed > CPU or all cores. >=20 > Signed-off-by: Marcin Hajkowski > --- > .../guest_cli/vm_power_cli_guest.c | 150 ++++++++++++++++-- > 1 file changed, 138 insertions(+), 12 deletions(-) >=20 > diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c <...> > + > + pkt.command =3D CPU_POWER_QUERY_FREQ_LIST; > + strcpy(pkt.vm_name, policy.vm_name); Can you use the internal rte_strlcpy() functions for security. Add my tag after small change above has been applied to all instances of st= rcpy() in patchset. For all in series: Acked-by: Lee Daly