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 124AEA0C43; Thu, 30 Sep 2021 18:32:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87CDA410EE; Thu, 30 Sep 2021 18:32:28 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 12A6140DDA for ; Thu, 30 Sep 2021 18:32:26 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10123"; a="223340792" X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="223340792" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2021 09:32:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,336,1624345200"; d="scan'208";a="588665252" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga004.jf.intel.com with ESMTP; 30 Sep 2021 09:32:16 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 09:32:15 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 30 Sep 2021 09:32:15 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 30 Sep 2021 09:32:15 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 30 Sep 2021 09:32:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hg/eK63Kr4fHriX0cW3KYdT5QXmyjlv0tShOeUZ+BLGY5rGU/2rEyqss0gDu5y6d8Zhb2oFuBrGEa9YtRIgSGo0gKCJmuuI2Rh52acOl91Tu5lyhZwBRibO/tO/ahGI56KLOhdxmvHZd4nOHMk4NOv84ljvKRScihRWCpPP+KsWcW5iRsYahy4mNni+566fXWzJL/aJOVS6i+ZR57RCH3wY0jLe3sN7sgItLraMVT9C1NG/uqp4afQvzY8fYTSzVS76/S+6QIt/TFDo5DOYWmPjVRAimLOS+psBNYVmEDXak22WxwlAzq7uMR5INlq5PVjj5zAczuPRNjN2iZVOuDQ== 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; bh=MeJU0eIAWIJfgcI/iFK/xP81cTKc7CfMdgxNcw9sSBY=; b=GppsihOFqiRjdRUjWkqSNY0K7NX/o1SEWl1T83QFePcv/oOVB+KguIzgiPsFL/Sv9CQwJKPOKsCq8PUaOny4xwco0jCgzdV84Uq3FUYYwQe+idysIdNeZtxK6xXsWqcxlCBlbOe6vKPsINsdJpTWItmq4XWeX8HqrH4QUMhqHiOMcJF+kkLeLl5E+YQJJCx74/S24Ss9KOL2UHOT69XknpC1pfMjcRVKYhffVlzXpG4PtG7tPV0I56ZaX8kcEMeZAganYsL9Gg63xY1OHCd8Fsey705f9DrfwP5JBNINdGxpd/sAF6z6/SW0vfWVOG3OAReUs1WJGlDE4AhkNoTYfw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MeJU0eIAWIJfgcI/iFK/xP81cTKc7CfMdgxNcw9sSBY=; b=f8KFn1jsXzlFMGBKZZbvIZHYcE/xctzi0Jg+d9CY24cCdP7ErcRRd6pUSzoUkLdEk+A8CHIZSHnvEg3tuw4QMyo3a7IuvcUGk+Tt7tyNpKSVkcfbaplAdWicfMCsDsprPO4yxOcAfqYiPm7SPTMSRhYWTOZkwa8MnAGE6zl+cOs= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4904.namprd11.prod.outlook.com (2603:10b6:510:40::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.16; Thu, 30 Sep 2021 16:32:14 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4544.021; Thu, 30 Sep 2021 16:32:14 +0000 To: Andrew Rybchenko , Thomas Monjalon CC: References: <20210604144225.287678-1-andrew.rybchenko@oktetlabs.ru> <20210930160527.962319-1-andrew.rybchenko@oktetlabs.ru> <20210930160527.962319-2-andrew.rybchenko@oktetlabs.ru> From: Ferruh Yigit X-User: ferruhy Message-ID: <4e327173-b1e1-faa0-bf7d-8d7ddf4d1d0b@intel.com> Date: Thu, 30 Sep 2021 17:32:08 +0100 In-Reply-To: <20210930160527.962319-2-andrew.rybchenko@oktetlabs.ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0164.eurprd04.prod.outlook.com (2603:10a6:10:2b0::19) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0164.eurprd04.prod.outlook.com (2603:10a6:10:2b0::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 16:32:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14a0467f-cd1c-47ba-46a0-08d9842fdc1e X-MS-TrafficTypeDiagnostic: PH0PR11MB4904: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1091; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QfzYhkFGkAV4CP43Fo+QpsyhKoLjrAhqQEzDrkdSJ30cTm5F9Dz0PPV6qLa3o2Q+onHZHuC3+5POVI2IHhPz4O9i/zHJLw04Mx0sSjxr0lSDY4Aht79KCYtMsPqDuujyyFN4kbk1y8MkmciHz5jYe87zPKp8+o/r14F8SRjhRwK/cINaKjHBRb2921bel0BgMUlEoF40JTxQ+2b/5RzRPX2fjUmX0kUy8yY8OOHelXD7Z6P3zRqTc0lypjyce8iIJuD90GCVO56Zz3GHDxbNIVDClRWjbP1rx6UhFZNVc3f06R3HLao2z+EDgaPaSx2ieG+3OJ4oGBA2To8HDWjgpjSifLRY8L1qxKzbAoyR3WVMz0irVtvEiibVvpM2AHpzzGYbGHtbSCU547G/BvivNVdTTxOOexuPCoryr6QhXncAw65KB4raYWGIXEMBR8Paqkb6EWIgeFAemiiLsQrUfXwiSfOKDg365fosMqVj7xGXlNNIWqYlVECWDFzesC1Qwe8TdLOAVXhZ9bVQbGu0g3pltoiFyGsBpVFIsrxQwsmVJFFry61PC8eomXmpXx9NsGvJvLk49+XUWq8ldc0HhFZQNROVUW3Q5F6FWqA0mQrjtuYinATQEjY43xML31yWLBBVVmFUyEw0QhSlLt5EZG6Ywbz0t7VZ7+F3FlvaGC6yI4ua6wDBHU0L3ZuLUnx5iWQqYX7XcwEmi4haNJnZyg== 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:(4636009)(366004)(31686004)(8936002)(2616005)(26005)(956004)(44832011)(4744005)(316002)(38100700002)(66476007)(86362001)(110136005)(8676002)(5660300002)(66946007)(66556008)(36756003)(16576012)(6666004)(2906002)(4326008)(53546011)(31696002)(508600001)(186003)(6486002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZnVRVUs1VzhNRXRqU0pWNkpVQVpkZkg3bjZzamFoczdzTmhXVFlwL3JUM0Y3?= =?utf-8?B?MTBVNHRyYVJWSUxFWWFyMUY2aUNHUURvUVdKaXFaZ2hUSklIMFREZnBLa2tQ?= =?utf-8?B?SmxlcXlvUFRONURMR3FKV2x2Q3cvZ0cxZFNkRjBqTmRZWThxaFZBb3dnT0k4?= =?utf-8?B?b1ZyT2RsakhrT1RjZHRDNDRxb0I4QVRkR0t6ZTlvTXNaSGNGUW5jZHcvaTRZ?= =?utf-8?B?R2xyZXZJeUtvQUZrSXp5bHhMQm1TS0hsWXpreDlSV3JUazQ1ZFYxaG00Ukh5?= =?utf-8?B?VC9wVkZoZXl6TGNFblBFQVk5MEFRaEttR0hoVWJ6NTBsR0QwLy8rV0VQQUo5?= =?utf-8?B?aHBlUkc3MWhMc1ZRTXlMbVdURzNoZV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L05ZeUR6dy85L0VSOTArYVhzRWEzcUhqR1hjbHFSYUNX?= =?utf-8?B?U3piTGtnMlJKTUEwL1gwWm9rNGgxMXlsd3BZNlhxcGpiSk5PcWN0Sk52NkxP?= =?utf-8?B?aDdleWhUNGJ6Y25xWHJIRkhDWENEQkxpTHNuc2x3SzFVcGtVU3BjUDE1dmcz?= =?utf-8?B?N2RjeGZSRmNpOGE2WGUxTHJ3WDlxZmZ3NWxETjRNbGNKdzJMS3VGQTFmTWd5?= =?utf-8?B?Sk1rSExoazRXMXp5dmY2UEVGbHJoMXRHbTRqUVNwMTZ3SVpQcU5MK3lQVElQ?= =?utf-8?B?WWlIT0hvZWFycEhzRVROdTR6MHE5eFBXbm9IY0dTM20wNUtmRnNWUk5ZZklY?= =?utf-8?B?STNiVUhuRHZOUlVSUDE3ZUkxYnBNWjVpaWJPendJT2JzMmc1T0hBdm15ZFBj?= =?utf-8?B?R3ZyZG5qTjVVdllmb2FEb244akdTdThUaGZuL3ZmWHFRUG1NTi9GOTR2d21J?= =?utf-8?Q?AhRE+qf4Mgo3Q5YFUfuQ6K+HBsra2gJMJ81YpGw?= X-MS-Exchange-CrossTenant-Network-Message-Id: 14a0467f-cd1c-47ba-46a0-08d9842fdc1e X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2021 16:32:14.2211 (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: nF3agZsA26lNJ73XYGHpD6sQuxbv5M0Sp6HJgsllnMBGTDN4PFt7GGkWvgxE7G63DxntJgzcyKzadU7r1ud6Zg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4904 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v8 2/5] ethdev: do not use get xstats names by IDs to obtain count 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 Sender: "dev" On 9/30/2021 5:05 PM, Andrew Rybchenko wrote: > Relax requirements on get xstats names by IDs. After the patch > corresponding the driver operation is called with non-NULL ids > and xstats_names parameters only. > > Signed-off-by: Andrew Rybchenko Acked-by: Ferruh Yigit