From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10067.outbound.protection.outlook.com [40.107.1.67]) by dpdk.org (Postfix) with ESMTP id 6908D5323 for ; Wed, 24 Oct 2018 13:02:22 +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=GzpZbBr8kCGdZSKYnEyn2bKUjt//ZKdnoK5NHJ0Ce4U=; b=Op5gTc2n5XQlDI1v4UyqEW3pI8Vf2mreylqi09y+JyRDazWEKpD0L+SPIKSS5NtRWx+LextSz7IlYh8bRutUQX4OcRikD6h+XDd08Kl2h2E37jX0tRwtpNyqjHP075xJAMrBo9zEPgpzRkQozKfkAVHQ7iwh6ZA0EVSVGLokvGw= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4505.eurprd05.prod.outlook.com (52.134.109.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.19; Wed, 24 Oct 2018 11:02:21 +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 11:02:21 +0000 From: Shahaf Shuler To: Slava Ovsiienko , "dev@dpdk.org" Thread-Topic: [PATCH v4 0/8] net/mlx5: flow counters support for Linux-rdma v19 Thread-Index: AQHUarj28QvKN08i4keSUvpN5UZBaaUuPBhg Date: Wed, 24 Oct 2018 11:02:20 +0000 Message-ID: References: <1539962470-10950-1-git-send-email-viacheslavo@mellanox.com> <1540289541-30019-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1540289541-30019-1-git-send-email-viacheslavo@mellanox.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: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4505; 6:nPKYteNrKpcsU/Eqj/q4/Ms7sF4mfu829gs4o2uZe4zPDeOajRXzU0Nk1uBgT2Wg+PsBF2/zP/GsXCcL+m/Jf1M7/LKA0u79bAGfV2ygNdTF13sPxttxtM+RHdPLLGV0ppswHAIuAeJ266TSohVj+tXGMnCzmyV+6i3MzAllmPTXR6kpsKW1OKrpCZa6YzMsfjHfGpXsoe5upkTO/88WVFWHgZk9+jmljRACZNxDndsgNaOtI31VzplBMyP9Bwf4m06WPAwCLSpyhlwhVOMyLOEo6BQCxSaphgcs01IB2PDQXkI4hQX6SZfR8sA0Ch0C7u+TXAlkbKexH/gThraclrGIx3+cLkLG05/2GFI0adgZq1jSPcMBVcPsAFBy7CiO+Kf7ErQMT38vgO4mPkf8ec10+rOYKf/gqHHMZcOQDGazKQHbfee23pyh7DyQTK5j6FCB39Qj8JMzxefXMifKmw==; 5:RQ9tgwIGQ4rEK+v5hzwgUZWJzgDpg0rKAutbJhB58MG99oPXJctIijqSGmiqybTnQwrgUbJlYEiPzUOdhOF7fNxsvxvwnBaOsdrta8h+2MvPZiRmJNWb2zeiPEz/hHIsYp8UgpBVRkDhpaxIpfW2oX/XP6Foyx2d1ZNtAIqd6go=; 7:fRtjMFQBU06EUsOcQU6/wOnHIUrtmD/9ceF7pYCHO9c4keq898JRBD5Nid6x1WJiwYlPUAAdWladgqfVZyISl4YmDXdQ4LylheBOUWZKUvKRsyTX905THOzVQJ0eHO8RLI4+Edn3j0b92mj01HJXUA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 270dcc16-4676-4047-1289-08d639a02bc8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4505; x-ms-traffictypediagnostic: DB7PR05MB4505: 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)(93006095)(93001095)(3231355)(944501410)(4982022)(52105095)(10201501046)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB4505; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4505; x-forefront-prvs: 083526BF8A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(136003)(376002)(366004)(189003)(199004)(53936002)(14444005)(55016002)(9686003)(105586002)(6306002)(4743002)(81156014)(106356001)(97736004)(81166006)(25786009)(2906002)(5250100002)(8676002)(11346002)(99286004)(6506007)(6246003)(486006)(446003)(68736007)(7696005)(14454004)(476003)(76176011)(2900100001)(186003)(966005)(74316002)(110136005)(478600001)(316002)(2501003)(8936002)(26005)(86362001)(256004)(66066001)(305945005)(102836004)(33656002)(7736002)(71200400001)(5660300001)(71190400001)(6116002)(6436002)(3846002)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4505; H:DB7PR05MB4426.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-microsoft-antispam-message-info: tRFFa782MvQxuqnFL1YGeKL1coeriuHYELANpLEU+ngpWoIwZ3WDGt9qjXlwtQAK8XSFY5wr7eWx+GFgu25iQ3alxTAPOJ6gOpgoQTvgkdaGyX5Ba/rm2y3nlUVx4SbPmmcKfx4BFf5m0M+ulCskDKRjhxIeD/6KFdg5hHgx752y1ksalFW3BCX651iGW6gEp+M7F1Wdmsj2BlbBAZClJKRR9YVyuxCJfWs23vuWBxi9/0r1eb8Es7rnZUFjWpx+wwKeK5n97panhXrx7aIYlGSfhOulfAAvRBI7kL87cTrzt+z6etRDb3tEd1YNr/J7bHyK2+XqBpJn0d/br8nGkFWVfBzEo26OqB7gx1vh6Hw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 270dcc16-4676-4047-1289-08d639a02bc8 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2018 11:02:20.9885 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4505 Subject: Re: [dpdk-dev] [PATCH v4 0/8] net/mlx5: flow counters support for Linux-rdma v19 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 11:02:22 -0000 Tuesday, October 23, 2018 1:13 PM, Slava Ovsiienko: > Subject: [PATCH v4 0/8] net/mlx5: flow counters support for Linux-rdma v1= 9 >=20 > Mellanox mlx5 PMD supports Flow counters via Verbs library. > The current implementation is based on the Mellanox proprietary Verbs > library included in MLNX OFED packages. The Flow counter support is > recently added into linux-rdma release (v19), so the mlx5 PMD update is > needed to provide Counter feature on the base of linux-rdma. >=20 > mlx5 PMD can be compiled with MLNX OFED or linux-rdma v19+ and provide > flow counters for both. >=20 > Signed-off-by: Viacheslav Ovsiienko >=20 Applied to next-net-mlx, thanks.=20 > --- > v4: > - minor patcset parts reorganization > - rewritten headlines to be more clear > - ifdef blocks minor cleanups >=20 > v3: > - http://patches.dpdk.org/patch/47085/ > - mlx5 glue issue resolved correctly > - patch is reorganized info small isolated parts >=20 > v2: > - http://patches.dpdk.org/patch/46989/ > - rebased on top of master-net-mlx branch > - new compilation flags are introduced: > - HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT_V42, kernel/verbs > library provides the flow counter support in style of > MLNX_OFED_4.2 to MLNX_OFED_4.4 > - HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT_V45, kernel/verbs > library provides the flow counter support in style of > MLNX_OFED_4.5 or higher >=20 > v1: > - http://patches.dpdk.org/patch/45972/ >=20 > Viacheslav Ovsiienko (8): > net/mlx5: fix flow counters creation > net/mlx5: rename flow counter configuration macro > net/mlx5: introduce new flow counters configuration macro > net/mlx5: simplify flow counters support check > net/mlx5: relocate flow counters query function > net/mlx5: add new flow counter Verbs API to glue library > net/mlx5: remove unnecessary structure initializers > net/mlx5: support new flow counter API >=20 > drivers/net/mlx5/Makefile | 7 +- > drivers/net/mlx5/meson.build | 4 +- > drivers/net/mlx5/mlx5.c | 12 +- > drivers/net/mlx5/mlx5.h | 1 - > drivers/net/mlx5/mlx5_flow.c | 8 +- > drivers/net/mlx5/mlx5_flow.h | 4 + > drivers/net/mlx5/mlx5_flow_tcf.c | 5 - > drivers/net/mlx5/mlx5_flow_verbs.c | 236 ++++++++++++++++++++++++-- > ----------- > drivers/net/mlx5/mlx5_glue.c | 68 ++++++++++- > drivers/net/mlx5/mlx5_glue.h | 19 ++- > 10 files changed, 254 insertions(+), 110 deletions(-) >=20 > -- > 1.8.3.1