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 94461A0524; Mon, 19 Apr 2021 14:35:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7517141283; Mon, 19 Apr 2021 14:35:09 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id E07EB4123B for ; Mon, 19 Apr 2021 14:35:07 +0200 (CEST) IronPort-SDR: lm6B3LUtJf1TnKvksbOCG84v5kzZj8dZoUFURgdcRwQlrQxJPUsyWpSd6Y5hDpZpthjIbOjnOq XUPOsacdI0AA== X-IronPort-AV: E=McAfee;i="6200,9189,9958"; a="259274658" X-IronPort-AV: E=Sophos;i="5.82,234,1613462400"; d="scan'208";a="259274658" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 05:35:05 -0700 IronPort-SDR: 1afDaFcZpZNv2ewk0jV3teGxcVrrklo71NypWhknOOuCgENM5m1PLx0V1kEAb57+h8XTpMGyfA jAjgrefHuniw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,234,1613462400"; d="scan'208";a="445144785" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga004.fm.intel.com with ESMTP; 19 Apr 2021 05:35:05 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 19 Apr 2021 05:34:58 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 19 Apr 2021 05:34:57 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Mon, 19 Apr 2021 05:34:57 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Mon, 19 Apr 2021 05:34:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kWOjnD0SM5B8jLwgAPeTzSLBeGJi73leX8TcqBguM2SobAcGttqsmwDWvRgrLWfSWBogchb2aP3f8CdX6/Xv9x//1qzUdExpInQ+Bhws+rXxapF33YQfRG6quHjLg6Tzt7Td5HimHuqKS12l8oAwOp1Mt2yH9TF4N8GVMoed5UQ5si1QeyQGdw2E2dMLuJGclztPvhQTq7/Hx1peUsVIZ+eRKdZMXlZLCcjNOXtkVea7EBmdTFpM8lFPV/LrM85LtwSyZ0Vxc77d+BP1jPmDxBiFfot2W9sKiRLASfWCRZJpybgLupB5B9Lq7u/2AkglLzZzs+mjSMegczEfy+8jEQ== 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-SenderADCheck; bh=kYhqP/BQOz2oVi89xY7dc868zUmd8wtjz5hkTbW8SSg=; b=Aif6shXWejwVmGQ7VdXrkeLQ1Mmb8Z7nE/I0lsiLq3uTkh7sgcBa0zV2aE5r/jgMgycU6//MofjiJk9aA1Xq1KONbTYxK+/Su0Um2SqL3PTyhRrXDWbZho7Zc04+DMuIBnq6BM1cXSQHKkA27B2KEBSEuFxO+e8RDoR2YKF86BUCHB60dp5D0rUQ9i6Cc1ixW7dNUqw9hWY5+K72Kba4RolUH4SYARUh14+v4RW254xKRYOgrun59iXL1LTCb8OX/POKWiIepgrwikz5QomkLt/G+Nb2Az8hhlvEwgYPOQZT6Br/xsFW7GGbzg75W9stjq6ipkPpzgvqehFmGuPdKg== 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=kYhqP/BQOz2oVi89xY7dc868zUmd8wtjz5hkTbW8SSg=; b=Y1T2VJqZRxmLGxnWgFWJksIMAFSf0X31rYulv7ijYyabyhz8Ib7EnBkT8G0E3PI22IUgdKYdvASNrbqJUiCc6kluEnDEqVGi3aKgSiQqIvT300mhwdfbIti1pFufEjklSR+R5rfs85c6LJJDPUnjh8PxdTYsqjTLegT0zgxAzzU= Received: from CY4PR1101MB2134.namprd11.prod.outlook.com (2603:10b6:910:19::22) by CY4PR1101MB2136.namprd11.prod.outlook.com (2603:10b6:910:18::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Mon, 19 Apr 2021 12:34:54 +0000 Received: from CY4PR1101MB2134.namprd11.prod.outlook.com ([fe80::a088:39e1:ecbe:31e3]) by CY4PR1101MB2134.namprd11.prod.outlook.com ([fe80::a088:39e1:ecbe:31e3%11]) with mapi id 15.20.4042.024; Mon, 19 Apr 2021 12:34:54 +0000 From: "Singh, Jasvinder" To: Li Zhang , "dekelp@nvidia.com" , "orika@nvidia.com" , "viacheslavo@nvidia.com" , "matan@nvidia.com" , "shahafs@nvidia.com" , "Dumitrescu, Cristian" , "lironh@marvell.com" , "jerinj@marvell.com" , "Yigit, Ferruh" , "ajit.khaparde@broadcom.com" , Wisam Jaddo , "Li, Xiaoyun" , Thomas Monjalon , "Andrew Rybchenko" , Ray Kinsella , Neil Horman CC: "dev@dpdk.org" , "rasland@nvidia.com" , "roniba@nvidia.com" , Haifei Luo , Jiawei Wang Thread-Topic: [PATCH v8 1/2] ethdev: add pre-defined meter policy API Thread-Index: AQHXMdifc+OBhau7LUmZM0jzd6wZZKq7wjcA Date: Mon, 19 Apr 2021 12:34:54 +0000 Message-ID: References: <20210318085815.804896-1-lizh@nvidia.com> <20210415092023.2089541-1-lizh@nvidia.com> <20210415092023.2089541-2-lizh@nvidia.com> In-Reply-To: <20210415092023.2089541-2-lizh@nvidia.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [78.152.207.12] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16d37eb4-db70-482a-2d57-08d9032f88d4 x-ms-traffictypediagnostic: CY4PR1101MB2136: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 14RCS4AbiozovcGsiBI8j7YJs4gSTJbe0QV3aa0lRElbd98v82tcsc7RuN23qUWEkQta1HC9yrl/y3bojvJWv53kpwOzm/kMeP/gQ0KA0QjNm2E8+f5DbJtLCxYhXJypzpDVcKx7GAnosrE1bizpu1+S7EwlRVc7YFEB0XISwBczA+Cpl+tm3AZ7pANNFmBZZQNaJR7vfYFPtOFzUzEw1AA5mq7LgZa0HJdPmtsEfNQSXnqixKL7fkY+J2DWXZ37oJFnwH0+Fp7O46ko/xqbGq/mKqA6+4gr073fBt53LucUVRfN1efmofN+1AvO9zNUZn+bPY9NpRbrnXNrR2Orbuposm1aY3a2o2g6pvWqU6hCg1dV0PYuqTF4ouOzn2xHeHoMpx9ZVX/y6vQYv2Q/6eJAqOEdwN/JVJSTfHMJa01f7RGDMpcp/cchejFakVXC1o4E8bcfsJNQZdcISEkiXcWssrpnNQL1XtreEc5ndAZ32Kev518+e4x00wKFp9v3aK3Htb+fOsmMNSJsDEUaMhhUnJ0u9CO2zpKfGaoUM5eac97fmN36uB4xU97JjdIcYm0yqLc5AVQrDToDt856j3QrUq0ao30my6Oep+prsuH1LRbKuV/fRs7774AWMITne+/RHKy0ra3M7RD754V/lA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1101MB2134.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(346002)(136003)(396003)(366004)(86362001)(55016002)(316002)(38100700002)(8936002)(7696005)(9686003)(186003)(4326008)(8676002)(33656002)(52536014)(122000001)(71200400001)(2906002)(66446008)(76116006)(66556008)(66946007)(5660300002)(64756008)(66476007)(110136005)(83380400001)(54906003)(6506007)(26005)(7416002)(478600001)(921005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?OGszMmRHb1FESTlKUzZFcXFPeUQ5SVVBa3dhOU15SS9zTFBPdXJya05ldEsv?= =?utf-8?B?dHNmZEVUR05Rd1dMc0RoOVJUU1BaaGdGKzk1Y3c2dVl2clRrWHFaTTM3djJZ?= =?utf-8?B?NWE3dHlOd1V2Tko2emZIdkVrNWplYW5vNU04S2V3Y3lQMjR5dEhzbGhhcUVu?= =?utf-8?B?RzM2RTB1MUpjallobHlFTjlzMC9mWmN3eisyZGIraHpHWXBad29WTmFmaGsw?= =?utf-8?B?QXRua3IxdG9reGRteWtJeU55Qk9KZFpITD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IMVhQS0pGU2NRUXhRb0d2SGxzNVJyZEhVbTFGZnVGK2VqN1Z0?= =?utf-8?B?clE2UysrQnBvVytHQWpWOWRvYlpDa0pzcmEzbURHU1pTSkloTkFCZG5ndXBr?= =?utf-8?B?cy9sb2t1dkk3SHpRMk0waktsYXVsVGdrRG8wdlB4eHZrT1VycXhWdmxERDgv?= =?utf-8?B?NmxrbklmTWJ6TzlOaGFRdTkvQ1hicTBkNUlrQXdmeWJHanhuSjZoYmNndCsr?= =?utf-8?B?c001TTZHcExPajU2UlJwNjI1Q0Rhd1JPVkN0MjhyckZleEsvNHZOcVcwRCt4?= =?utf-8?B?KzJQK0lIcmxLSW9tSHJxT3k3eXlWMmQ5Y0hUMlJldjdMNWc1L3dYbGFVWjV2?= =?utf-8?B?RE9KZEsvM1BQUmVEZjA1cGNkeG5CcmJQMHp0RjNKeVhVd0dlWUtJcGNtazhl?= =?utf-8?B?L0c2Q0ZRQUFUc1lqQmFqVE1Jak1wWlUyVjJkVytEeWZWL0xNd3NXME5Ddjcy?= =?utf-8?B?M0pWN2tubDVQaUVIY1BRUktPUWRJRWJyN0E3RmZHN3lvWW50S3VQUDZPVTR4?= =?utf-8?B?b0NObXdvbFVCaHA0Q0hTRHVwdll3a1k1NmF6OUpWeE9IalV1QjI1ejNuK2xL?= =?utf-8?Q?i4Kpg5fg5p90Qp4WV/nOJN2lCLc3h1AbP9RsOBs?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR1101MB2134.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16d37eb4-db70-482a-2d57-08d9032f88d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2021 12:34:54.1819 (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: bcorPHUlpoDxHxZVimmuzgiChGtK3uKX1Tliy7rGAN6xGisAIHIIlEAm4Kkne+33RyEDo2euJ3QwNLuYJEIj2T17zfZRDWbXKtsxbjbmQKM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2136 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v8 1/2] ethdev: add pre-defined meter policy API 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" PFNuaXA+DQoNCj4gKy8qIE1UUiBtZXRlciBwb2xpY3kgYWRkICovDQo+ICtzdGF0aWMgaW50DQo+ ICtwbWRfbXRyX21ldGVyX3BvbGljeV9hZGQoc3RydWN0IHJ0ZV9ldGhfZGV2ICpkZXYsDQo+ICsJ dWludDMyX3QgbWV0ZXJfcG9saWN5X2lkLA0KPiArCXN0cnVjdCBydGVfbXRyX21ldGVyX3BvbGlj eV9wYXJhbXMgKnBvbGljeSwNCj4gKwlzdHJ1Y3QgcnRlX210cl9lcnJvciAqZXJyb3IpDQo+ICt7 DQo+ICsJc3RydWN0IHBtZF9pbnRlcm5hbHMgKnAgPSBkZXYtPmRhdGEtPmRldl9wcml2YXRlOw0K PiArCXN0cnVjdCBzb2Z0bmljX210cl9tZXRlcl9wb2xpY3lfbGlzdCAqbXBsID0gJnAtDQo+ID5t dHIubWV0ZXJfcG9saWNpZXM7DQo+ICsJc3RydWN0IHNvZnRuaWNfbXRyX21ldGVyX3BvbGljeSAq bXA7DQo+ICsJY29uc3Qgc3RydWN0IHJ0ZV9mbG93X2FjdGlvbiAqYWN0Ow0KPiArCWNvbnN0IHN0 cnVjdCBydGVfZmxvd19hY3Rpb25fbWV0ZXJfY29sb3IgKnJlY29sb3I7DQo+ICsJdWludDM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