From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 4983E56A1 for ; Mon, 11 Dec 2017 14:28:02 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 05:28:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="185950337" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga006.fm.intel.com with ESMTP; 11 Dec 2017 05:28:00 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.36]) by IRSMSX101.ger.corp.intel.com ([169.254.1.22]) with mapi id 14.03.0319.002; Mon, 11 Dec 2017 13:27:59 +0000 From: "Daly, Lee" To: "Mathew, Elza" , "thomas@monjalon.net" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs Thread-Index: AQHTbijEO6ApuWlIuEq2O+9F+y2l9qM+DFBw Date: Mon, 11 Dec 2017 13:27:58 +0000 Message-ID: References: <1512519907-62388-1-git-send-email-elza.mathew@intel.com> <1512519907-62388-2-git-send-email-elza.mathew@intel.com> In-Reply-To: <1512519907-62388-2-git-send-email-elza.mathew@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.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2I2MzA3ZjAtMmIyOS00MzFhLTljZjktNWM5ZmM4YTJiMzQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InJyZkhueUl5YTloUml3VDRJZGNuMlYyN3dMdURyc0k4UEplWGlBZGpVdlk9In0= x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs 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: Mon, 11 Dec 2017 13:28:02 -0000 > Subject: [dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs >=20 > Introduced a check to detect if the stats IDs being requested are all bas= ic > stats IDs. In that case, ensured that only the basic stats would be retri= eved. > Previously, both basic stats and xstats were being retrieved even if all = the IDs > were basic stats IDs. >=20 > Signed-off-by: Elza Mathew Reviewed-by: Lee Daly