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 D575BA2E1B for ; Tue, 3 Sep 2019 09:18:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3EB881D160; Tue, 3 Sep 2019 09:18:42 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50047.outbound.protection.outlook.com [40.107.5.47]) by dpdk.org (Postfix) with ESMTP id B403F1D152 for ; Tue, 3 Sep 2019 09:18:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DD8iRhfEH6MxSDdgmyLlNB9hi992CbdqbSrQ3cDrFywGnYTw7nw1fSfxwg55tU23DTCMCDnUbGoJTYPa77SDv2Moqdb4NytuJet+A21LomZt/cdVYxwYZ8HNpR1RsYRjpA3GpDXg5BCzVERUCEfUPnds+ayYYsW5mZ3lliEvmRfLVdTCTx57ESvcsnuslEcihTUWbiahokakWIjXtCktKaT2mQqrADhOEUJGuOXHgqf4lG66A7ktxlrl9h6hTavmCYZAqeNCgh1gf5HCZZnTfzbyPUH66K2iTBKMBdFhE6tqz3XwPPAw9dNk+PN/aqOCNZ3C/nOhtp4EDCVlpwspTA== 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=w3SjtRWt1MEJatIdwMmT4MgxbIhsltjtJ0tc5PMzTyc=; b=YJOuU+AGcW/ay3m26b0zlJcQxT0Vwm4gUqrE4tUbZBsmWF/xsOIP8823VJFqj8ddZlXDvVo+2J/upH92gLCKiW2JVAgD0EStZ0pB89iqshh0nsxgVVNzr9c7hfSx/QM+W0lmoc7WMdT/KeAi8rf/LBlFCvL0aA9pH+bp0LJwhAK8s07HI0iLvIKJu7H9JOObiBfBDfsy5Dzih62H6vUZUNj8YZFUS3b1ERlE3komdLHmd8JxndGpW/jJSTtteu+VrBsktzYR6AFOywMzDlXSni4hcY1BOKdIukRAqbIXiuAqrPhgGpDZ/ufcwMIq9HPcD2ub16Gx2+qUzWWwo3dj/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w3SjtRWt1MEJatIdwMmT4MgxbIhsltjtJ0tc5PMzTyc=; b=aDF7LiyLc8AeAeM5EZxH9l1DQw6jFf8qfILFXRx0nyOhlP4oaOJmPvNNAiwoqHexPrxEzuGB5HLkROsgLV8ubhzHZHAdqdx3EFxfZrB2KgFTdfKPXWJRFfrr+UNNd0lzNF/J2dM4ipUiwSDXcij0Yz/sM4IgmHU36vpC87CFd6s= Received: from HE1PR05MB3484.eurprd05.prod.outlook.com (10.170.244.142) by HE1PR05MB3161.eurprd05.prod.outlook.com (10.170.242.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.16; Tue, 3 Sep 2019 07:18:38 +0000 Received: from HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::e082:5ead:6e4b:ed40]) by HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::e082:5ead:6e4b:ed40%7]) with mapi id 15.20.2220.022; Tue, 3 Sep 2019 07:18:38 +0000 From: Suanming Mou To: Shahaf Shuler , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [RFC] net/mlx5: add metering support Thread-Index: AQHVYifOuJGe2gXO1UWBV+16+RhB3Q== Date: Tue, 3 Sep 2019 07:18:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) To HE1PR05MB3484.eurprd05.prod.outlook.com (2603:10a6:7:32::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=suanmingm@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [122.235.194.147] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a2dfcbb4-bdae-4526-839a-08d7303ef0d6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:HE1PR05MB3161; x-ms-traffictypediagnostic: HE1PR05MB3161:|HE1PR05MB3161: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 01494FA7F7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(396003)(376002)(136003)(346002)(189003)(199004)(386003)(476003)(6506007)(6636002)(86362001)(66446008)(31696002)(66556008)(66066001)(486006)(64756008)(81156014)(66476007)(81166006)(8676002)(478600001)(8936002)(2616005)(66946007)(256004)(14454004)(71190400001)(71200400001)(31686004)(4326008)(5660300002)(6116002)(3846002)(305945005)(7736002)(36756003)(52116002)(110136005)(6436002)(6486002)(26005)(186003)(6512007)(102836004)(25786009)(316002)(14444005)(53936002)(99286004)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3161; H:HE1PR05MB3484.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: gBgQlgF0T/vaJtfzUkZig2BhAIFRVAMzAF9mirlQHFyc29rI0FbLCYuG7Wqx09Gn+4xRhJMUvZt6NcxwejNj5X4FMsso2EmIu3x89d0RvMWotpLKw/cViBCj0cncCnb5XV2Li0/cFMwop+AOxxJMFxZvV7RJHpjWUVWBFKLJBCfFLT+OIT5nBLukjtRU9qYX6CmGnLTdqq1OXF2cFnbvklIrzCS1BjENk7mN7xPPk/iw9bsoe9txBF0o1coMAeQuMFjnNi1bnKsWJjtalTaHBqvfkX/in2jHE1yZ+YigEbvdpkZUuXd21f8xeAA+eDfInNKWJR6CKkJmblmvNQuO6OCaOGMsCggW1NFF7I8gVAnAL3ui5b3yfxXHZY4wn8BxRi/Mixb6g3mHt+ORxVQaC0P33OYutGcM0TRCAjBdPsA= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2dfcbb4-bdae-4526-839a-08d7303ef0d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2019 07:18:38.7088 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RoWZ1Pjv6Rx03OZjx9NN0+HcjrswauNE98bFviBri9pFCRhktIbXXixcOvpX28ZtCDRz9duM2SSgHl9RI4f34w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3161 Subject: [dpdk-dev] [RFC] net/mlx5: add metering support 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" VGhlIG1seDUgUE1EIHdpbGwgc3VwcG9ydCB0aGUgcnRlX210ciBBUElzIHdpdGggdHlwZSBzclRD TShJRVRGIFJGQyANCjI2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