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 A234EA0524; Tue, 13 Apr 2021 17:00:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89E2B1610BE; Tue, 13 Apr 2021 17:00:09 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 7D4491608B1 for ; Tue, 13 Apr 2021 17:00:06 +0200 (CEST) IronPort-SDR: vpAz9+GNcVggyM7SSUvQSuC3UxruEYaUypnWDtPfepKYjaLHrzvVTpELpr4S2KV3FtADfDpS7h 1L8/6yV/K0Tw== X-IronPort-AV: E=McAfee;i="6200,9189,9953"; a="214910282" X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="214910282" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 08:00:03 -0700 IronPort-SDR: 6BuAD+xGayrvnOBfK224g0Zr12lqQV7eJU2nrMih3+w6riWXmdeBxX0IErNKZHooXitpGgcQYq ZJXcDdC8f1qg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,219,1613462400"; d="scan'208";a="451986181" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga002.fm.intel.com with ESMTP; 13 Apr 2021 08:00:03 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 08:00:02 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 13 Apr 2021 08:00:02 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 13 Apr 2021 08:00:02 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Tue, 13 Apr 2021 08:00:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kt3NVZdzgP8wt40mvC7ACiXlEcKty864Ug0OYbDQ6Z/4tD1Vy6BQRsgLhFDaa+0nUjiR6Ap4gt4XMpEiS7qYKD0A2f7U49vu8YPUdJOuI4Dl2wOSx1ic9+7+YRPx+yOmhItxqTS1EFv/a0TY+POk69wLj1wY1skouiN41KZXnyN20oOSvrpx6CMKf/xPx2cc/JYac+lWRelJXBxYmWIF6K3VHbbOm0cXvAMvPI9tSH1s7ZVimTrtgju2Gefu55NeJ2cJLTyk4jFiMKsA35wa5P7KUJxIZP3YCNvqxYLC2O3MfA4vQE53d4ro600SpMUBfEJX/NV4Sy1CoDgupsXlzA== 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=RgE7VcYmH3dX7JZn5nZoknJflTr2o5qLqPyMW5+Gndo=; b=CkZbl0+XZbfrEdcqg6EajnMLLZk+ko0Z8zAWnz/Z5XN0X254cngN1thOOgwtK6hz5/rl6z0uYBECkyYnABX0amknC4nuwoFJ+BwuAoBmTFve0dQB/vI+6AGHCS3FcFZyJJtJJ7Vo1mxPWbfgGwNPw1eF0Rywl2dAXJz+L7uXzzbXUrnAcO04r1xrYztPVbb/BkBOdwiq0bJZ+M8enmSNvDvixfTUSqy2gp4HY7fJQaNvd2UYkJ1dsgjQQ2cJcBFvJshg3zj2dhPv7koxUI0ht1zwzNOT7E6jmd5w+eb9Fqxv7j/dCcM/8qGUdJKu2aCe2EMbWStgePFj3bob7mkQvA== 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=RgE7VcYmH3dX7JZn5nZoknJflTr2o5qLqPyMW5+Gndo=; b=sdPvaAVS91lkVoyuWVitwN8yQzPup3VUAib0HhGcTY90h/WlYla9FigVi65O6ENAn5YUJz7uzWHRG7jqT9QBzpO7ZIJd8N8CYHax8ZvwgNiZ1dpvIzihrThG9kZUIvw25eg87aye0lXqDH7IY8Ofo/KhaiJghkPr6PukXxEVW64= Received: from DM6PR11MB2796.namprd11.prod.outlook.com (2603:10b6:5:c8::23) by DM4PR11MB5504.namprd11.prod.outlook.com (2603:10b6:5:39d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Tue, 13 Apr 2021 14:59:56 +0000 Received: from DM6PR11MB2796.namprd11.prod.outlook.com ([fe80::d099:834d:f5ad:39c9]) by DM6PR11MB2796.namprd11.prod.outlook.com ([fe80::d099:834d:f5ad:39c9%3]) with mapi id 15.20.4020.022; Tue, 13 Apr 2021 14:59:56 +0000 From: "Dumitrescu, Cristian" To: Li Zhang , "dekelp@nvidia.com" , "orika@nvidia.com" , "viacheslavo@nvidia.com" , "matan@nvidia.com" , "shahafs@nvidia.com" , "lironh@marvell.com" , Wisam Jaddo , "Li, Xiaoyun" , "Singh, Jasvinder" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Ray Kinsella , Neil Horman , "Jerin Jacob" , Hemant Agrawal CC: "dev@dpdk.org" , "rasland@nvidia.com" , "roniba@nvidia.com" , Haifei Luo , Jiawei Wang Thread-Topic: [PATCH v3 1/2] ethdev: add pre-defined meter policy API Thread-Index: AQHXL/oEJ/IoRAOPZEi67RsT/ofW/aqyhLDQ Date: Tue, 13 Apr 2021 14:59:56 +0000 Message-ID: References: <20210318085815.804896-1-lizh@nvidia.com> <20210413001428.1999959-1-lizh@nvidia.com> <20210413001428.1999959-2-lizh@nvidia.com> In-Reply-To: <20210413001428.1999959-2-lizh@nvidia.com> Accept-Language: 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: [109.79.26.31] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fab615dc-c1a1-43d2-48f7-08d8fe8ccd66 x-ms-traffictypediagnostic: DM4PR11MB5504: 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:12; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HVl1xLn3yFZwir1AV+TWXbR4utyLvGhk7M1ivrayLg4rBtHsDrkp0jxeaOYihbwaW1OFLtDUJYwMZlWbdRGcUX7v7Y0FczXkaqO6JJjLLn6TPA5oPpL3cbJGeRJkkq1tHl0RDQg0uzXGDJkRnPWutqm3uzZW+HEcKDs0ZfmNPvOgZlvM1K2Wn547DGp5UbCWazx5Je0L6oRsPRiYLhjyC3OOeA6laaN8+DDVFrQHb40eDUnM3U3W7i+3+2sTmyzKB1d+/t6MfQ2klJU+yaczfcOa/dw7rcs+QdsXJ/i0M9K1pFzyEFgB7A55iCaBZATsxq70SIU7pVO1EWIFgcUfoEXbKqVegiZ37SrrDPbu5MSpfZyZ4XBdq3SbYWM3e8McQO2892l0U9RhuzDtQnyPNjidxHdjCl4r9pXm/iUl4l4/sPKxW2E6gjApfsfCgiRcRJaV9+p/+uTUz91ZxnDXs3SDD21bdK/2AR2VzVy4Rkt2BIRiwkNvTPhNiNWTmKJ4RDdwblI+e+ImVIvys7dWeY22UxC97uX7h/vIFUy9JAGW235HBk3vGAMss1RjXQd5Ol2H3mHFt7zb1SnrPzAuk/P9elT0VaYafoy7bLgU09Md4jdiQPh5X3h3vkR5WqozADmNQsvm1OSvykj/yTBT7EtvewWpyz+V7CFpVnAQ2Qc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2796.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(366004)(39850400004)(346002)(376002)(136003)(316002)(5660300002)(66556008)(66946007)(66446008)(9686003)(921005)(122000001)(6506007)(2906002)(64756008)(52536014)(8936002)(4326008)(86362001)(7416002)(83380400001)(186003)(110136005)(55016002)(38100700002)(54906003)(71200400001)(76116006)(53546011)(66476007)(33656002)(30864003)(8676002)(7696005)(26005)(478600001)(559001)(579004)(309714004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?TmxKUWlJekl0OE9xVnZVNUJuMDh6aWdTU1d0U0JCc0sxWTEvUWFld241UWxX?= =?utf-8?B?WUpvOGpKamU5SkpsV1JQL1JNTmhkK2o0bVV6WUhSYVdJd01JT0xhSjlNUjNn?= =?utf-8?B?dkZHNHNQY3loSGlmNGhIc2QzbEpDY0NUNWE2Q2pzU2dXTHR3SnBFUVNYOWRr?= =?utf-8?B?aGtsd2M5ck9JNmdiSThsK1pTM29HM2hzS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VXRaNmZJRzBzOHNmM2NlL0dzQTNNcWVvZGNQcS80a0tBV3RYYlpm?= =?utf-8?B?N2Z4M0wyaVhIWTZxV1VWWWZCSU11a1dVQWxydmNiRGhsdmVLTG0zYW5Fby9k?= =?utf-8?B?ay9ycmdzcndKMDNHWldJVm50UGZjbnVORERoaTZNMU1FclJLNXZJL0ZrL2dK?= =?utf-8?B?T2tyQW5LOFVwdE12OUc0bWVEb0pwRlF6c29DNXUzbDJ6dThVdlBncm5mamto?= =?utf-8?B?NEhqZGczRWF0d2YvS3c0MFJ6UEE3MEpZZUk4aHk2MTVPdWttVjAwRGdBYWhW?= =?utf-8?B?dHVrUUM1ZjcweFdWSkl3ZHZreUl5d1ZlT29aMUZCcmFKQWVKSDcrbmpCNStr?= =?utf-8?B?WVJwSFdIQ1ZCcHArbWV5RlFILzNMeDZhMkFGUjFQUXFPVWwwbHQ3VHcrWUNa?= =?utf-8?B?N0g2Zk9zK3lwMGZVaGMzV2pEZFo1SEd2ZGhVZ2VtelJzdS8zZmhuaTNCU01D?= =?utf-8?B?ZHpzVmxvMXJHZjVkWXliR2hBdFc5UUFrVlcvb0JpbTA1ejY1TkdOZm4yd2FX?= =?utf-8?B?L0Z2d1RyeFRFSzdhb2ZPYURuKzZUZlE4RDRSbFhBWjJKVklNR29sUFNmcndI?= =?utf-8?B?ZThuWWRJQThKVTZacnJ0U0ZzRHJGR0hUTXFtVjRWdVJmb1JiOVp1Tzh2NUpi?= =?utf-8?Q?v29I/rh9CU17SB0QWlL06pSAe1w8j1IHMiDA1SK?= 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: DM6PR11MB2796.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fab615dc-c1a1-43d2-48f7-08d8fe8ccd66 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2021 14:59:56.6235 (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: NFvWCk69RUNM3gJyH+ucKlb2PX/2hV85DRlga3ziMHBA2SWaPEy8zpsN9Yt2NafQBQCV7tWXSNcrkWyAJNPrCUGlA81sxIinZHHAc0UotDw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5504 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 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" SGkgTGksDQoNCkhlcmUgYXJlIHNvbWUgaW5pdGlhbCBjb21tZW50cyB3aGlsZSB3YWl0aW5nIGZv ciBhIG5ldyB2ZXJzaW9uIHRoYXQgYXBwbGllcyBjbGVhbmx5Lg0KDQo+IC0tLS0tT3JpZ2luYWwg TWVzc2FnZS0tLS0tDQo+IEZyb206IExpIFpoYW5nIDxsaXpoQG52aWRpYS5jb20+DQo+IFNlbnQ6 IFR1ZXNkYXksIEFwcmlsIDEzLCAyMDIxIDE6MTQgQU0NCj4gVG86IGRla2VscEBudmlkaWEuY29t OyBvcmlrYUBudmlkaWEuY29tOyB2aWFjaGVzbGF2b0BudmlkaWEuY29tOw0KPiBtYXRhbkBudmlk aWEuY29tOyBzaGFoYWZzQG52aWRpYS5jb207IER1bWl0cmVzY3UsIENyaXN0aWFuDQo+IDxjcmlz dGlhbi5kdW1pdHJlc2N1QGludGVsLmNvbT47IGxpcm9uaEBtYXJ2ZWxsLmNvbTsgV2lzYW0gSmFk ZG8NCj4gPHdpc2FtbUBudmlkaWEuY29tPjsgTGksIFhpYW95dW4gPHhpYW95dW4ubGlAaW50Z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