From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20068.outbound.protection.outlook.com [40.107.2.68]) by dpdk.org (Postfix) with ESMTP id E00025F1D for ; Wed, 24 Oct 2018 19:25:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hPCcz3mvPUpPLeudlACu4Sl7XkUmhYrFAk7dqstvWAQ=; b=MNCgCM5r/5FvQWMRqGlC5A73ogfdf/YtCO5lci+Gd25Cq0NYRMTIGGRJH9XMI0OopWpMJ9e4+Sf+XoEV/6oYh5ia1NjxrXCstcTE7KevxnqlPDacKDDLlZ1dq9NK732YqPRzP4dOS9pi4zQul1xQRp5m/gdUUCZdrYSQorUjtig= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4345.eurprd05.prod.outlook.com (52.134.108.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.29; Wed, 24 Oct 2018 17:25:38 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::80e:e6b:baf2:d973%3]) with mapi id 15.20.1250.028; Wed, 24 Oct 2018 17:25:38 +0000 From: Shahaf Shuler To: Ferruh Yigit , Slava Ovsiienko CC: "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API Thread-Index: AQHUarfxk7cuF8yLZUaC2yHyPAH+saUumI6AgAABR4CAAAzF4A== Date: Wed, 24 Oct 2018 17:25:38 +0000 Message-ID: References: <1539962470-10950-1-git-send-email-viacheslavo@mellanox.com> <1540289032-29628-1-git-send-email-viacheslavo@mellanox.com> <1540289032-29628-9-git-send-email-viacheslavo@mellanox.com> <61c99e8e-b802-1ae6-99ed-a67fac652ad8@intel.com> <0aca8d6e-01eb-2518-5c89-962e02a800f7@intel.com> In-Reply-To: <0aca8d6e-01eb-2518-5c89-962e02a800f7@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4345; 6:/T+Cw81+cs+/pjH7NKVbdWV/UD2M/1YPpX7dJHNerb1if7urP8V5eRkyX8eLUGugLY1zuEGeDbp67XES8oYJfMRu5a4E6XjAsaeO9QwVAw7TmTID58eLiZ4Bq8CxOTtv/KhpVJO0j2WNKmkqLhjgg17yfJKR4kl9CIzQnu0bacl5I65/zTvQh5QCjAs//4KhE+DNEtmWbfUXI7k93aobTQSjNdiVFZ/JFzlVB+MoGWKdvu2XcsPnShtUALO/X4SQ/O10Dfm/MeXKXNZTB/dkVNbYEdCvlCpKwyz+2OaKsKCvMDCLFuDe1b8TiS4NJcGgjsDuTGbfR6ik+gTpYl0x178cV7zl3QdjY7aRR+etpGa4WkLO6fHRD+ugWk1cvENdodntiq2WCmImSniSHW/92R7cHQA7o5/VNIGp6yeTZA6VDnjCfz/6rKmKy97++P9PrCz/DvXA8VBye86W10HsfQ==; 5:9A0+t5o6NnEbOAOynT3RGZcYTKVOWAoHnuhjHzLFmRzhtaly+Y8Pvetx1BE8TozlM0qVez/iksFnfi/mc+voOAxVQxAPe9yJd8kqO3ymaY7duCVMIPnHWvkD20cRUCCaIygjoUErL0RDj7THSR37XMthkaJuCGeqy1HCugO21gg=; 7:lmVChtwqIEbvsejIV8xjX8Z2ZTgbfAaaKx2Ucgjr5PabdVSLmCO7ObR/qnQF2SwYdeDm22iVn9+1HfaQ6WlOFB7mzSD+I6xouOF3LDRyRdpIL8PR+83bwhft86B/Xv9vyzFUEApqgr4mBVoJnXBbDFJdm94tICOW3NLdRQWDSAzLYeEAKlwL5h11mefaP5QAEYGM7vdyFu6vTQhsquIkc5d6lG3X0usy21ln36r95QYjCO+NJD+ujzLbODsSOjoq x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 91748d7d-e420-4fe3-7a3e-08d639d5b71d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4345; x-ms-traffictypediagnostic: DB7PR05MB4345: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB4345; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4345; x-forefront-prvs: 083526BF8A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(346002)(366004)(136003)(199004)(189003)(51444003)(8936002)(5660300001)(53546011)(478600001)(4326008)(25786009)(7736002)(74316002)(305945005)(99286004)(7696005)(71190400001)(102836004)(76176011)(71200400001)(105586002)(110136005)(106356001)(68736007)(229853002)(81156014)(81166006)(8676002)(6636002)(316002)(54906003)(6246003)(93886005)(9686003)(256004)(97736004)(55016002)(6506007)(2900100001)(86362001)(14454004)(33656002)(446003)(53936002)(2906002)(5250100002)(476003)(26005)(186003)(66066001)(6436002)(11346002)(486006)(6116002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4345; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: DNLJSHKOT1y2l6rzRABDaxA4LpY3hpdJCdXsVVVSumLLvb1qytYC+hMw9tcdprKxREgSq2iXm7cKFLsrEgf0RdkAvQTR0DMvgSg+Uz282H+H8XXEfqEYVP8XT2aVmgWEUmkhKqjqS7JidEMCWh5BRzkUqGzbBVrgv23cCWz2zJC5u2/qi1Do7w0oHOzA1Tk1YIIRZwBiOjr1hAj40I1z/26Eynzm8bTc+nVNA7ebO9pP4rvrcGvEPkIU9C0fgFXLSYkEfTnHEzcv1/u7r9etI1iJ7UQpl7GLgRMNIlyUbkQpDH3wDyzXqXPQbvfzGdVLX3lat3Ww0G3HNcGyT2V/9w8Ojn90Wi1XGJWwBGFZW2M= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91748d7d-e420-4fe3-7a3e-08d639d5b71d X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2018 17:25:38.2053 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4345 Subject: Re: [dpdk-dev] [PATCH v4 8/8] net/mlx5: support new flow counter API 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: Wed, 24 Oct 2018 17:25:40 -0000 SGkgRmVycnVoLA0KDQpXZWRuZ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