From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 168ABA0679 for ; Wed, 3 Apr 2019 12:17:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BFD441B192; Wed, 3 Apr 2019 12:17:16 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30066.outbound.protection.outlook.com [40.107.3.66]) by dpdk.org (Postfix) with ESMTP id 04D881B131 for ; Wed, 3 Apr 2019 12:17:16 +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=dcx7FRYbYn5pjAJyxr/48TPmsoxnHhrlX0HtJi2wL5E=; b=eo+VvkQS3JKbD9Kl8n0YYVf/R1GhAtXCdW0SmAynTbXsFSMOLgJu8K+9gR0gsKBfqewqXi6i9FeO4VVfbwmY3cRxOcF+lpssP2SX5yb9voIpLp1Z7lNt430lyZvSyDMPewG5T5oWxEq1pgyYKlwtS/1O/sO4sgb4Tg/At7hRkzI= Received: from AM6PR0502MB3797.eurprd05.prod.outlook.com (52.133.22.13) by AM6PR0502MB3733.eurprd05.prod.outlook.com (52.133.21.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.13; Wed, 3 Apr 2019 10:17:15 +0000 Received: from AM6PR0502MB3797.eurprd05.prod.outlook.com ([fe80::5db8:12bc:aff3:5048]) by AM6PR0502MB3797.eurprd05.prod.outlook.com ([fe80::5db8:12bc:aff3:5048%6]) with mapi id 15.20.1750.017; Wed, 3 Apr 2019 10:17:15 +0000 From: Shahaf Shuler To: Ori Kam , Matan Azrad , Yongseok Koh CC: "dev@dpdk.org" , Slava Ovsiienko Thread-Topic: [PATCH v2 0/3] net/mlx5: Add Direct Rule support Thread-Index: AQHU5YPiP/K5hspPPkCQUKo8Oikrh6YqQZ4A Date: Wed, 3 Apr 2019 10:17:14 +0000 Message-ID: References: <1553096315-91832-1-git-send-email-orika@mellanox.com> <1553790741-69362-1-git-send-email-orika@mellanox.com> In-Reply-To: <1553790741-69362-1-git-send-email-orika@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-ms-office365-filtering-correlation-id: 2362f220-733d-4c04-ec6d-08d6b81d8b4d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM6PR0502MB3733; x-ms-traffictypediagnostic: AM6PR0502MB3733: x-microsoft-antispam-prvs: x-forefront-prvs: 0996D1900D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(366004)(376002)(396003)(346002)(199004)(189003)(86362001)(229853002)(106356001)(105586002)(26005)(71190400001)(71200400001)(7696005)(4326008)(102836004)(53936002)(4743002)(6436002)(107886003)(9686003)(6246003)(55016002)(99286004)(5660300002)(52536014)(186003)(66066001)(6116002)(3846002)(6506007)(76176011)(25786009)(486006)(446003)(11346002)(2906002)(256004)(110136005)(316002)(54906003)(476003)(33656002)(97736004)(14454004)(478600001)(8936002)(6636002)(7736002)(305945005)(74316002)(81166006)(8676002)(81156014)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0502MB3733; H:AM6PR0502MB3797.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: od2L08Vaea4q32Vx+sF0vMp6QEvoZNQXMvDa/ckdaPI2ArARbQGxoRu90DhBpnGBXmHBJyOEGxpv0jhbihgR8S88TH43lEdvbJl1sT8SVlXEAupDlVAxt1oOLs/fPirC1+To8alUsG0/CePXQgUzXSryUZiZ1h0Wte13WgIBdtSARsgZJaril5y9BlpqGLQbqUnMyHWCW6Tx98QRzS8c+k38qi8bhxmGOwFHiZbvCUzH/NcDh7oSbmyMh7jEcuEeTm/+w9uTNL+CoRzzRajT8EM+NYyJW5dtfy2GwQ+dy9gUKeNXZcABxu7MIAF9U5YMn1W4kFOcYAL0TeqVhbWdlYKlLCaHvzeuUdrRk+Uo2lt8agSDDA0aZO9hIp5O/pRPjircEWEA2OQahu/J2lOyzpz/eYKTix+43oRcHT/PI1o= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2362f220-733d-4c04-ec6d-08d6b81d8b4d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2019 10:17:14.9425 (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-Transport-CrossTenantHeadersStamped: AM6PR0502MB3733 Subject: Re: [dpdk-dev] [PATCH v2 0/3] net/mlx5: Add Direct Rule 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" Message-ID: <20190403101714.DE_xNj9VDjKdqsD3FQXT-0cbkyYJ9aSv5drJYheaRoo@z> Hi Ori, Thursday, March 28, 2019 6:33 PM, Ori Kam: > Subject: [PATCH v2 0/3] net/mlx5: Add Direct Rule support >=20 > This patch set adds support for Direct Rules API for MLX5 driver. >=20 > As more and more applications like OVS are inserting and removing large > number of flows, the flow insertion rate become more critical. >=20 > In current MLX5 PMD rules are inserted to the device using the FW, this l= imits > the max insertion rate. The solution is using a new set of API that are p= art of > RDMA-Core. which enables bypassing the FW and writing the flows directly > to the device, which results in a much faster insertion rate. See small comments on the series. Once addressed you can add my acked-by.=20 >=20 > v2: > * Small issues fixed. > * Rebased. >=20 >=20 > Ori Kam (3): > net/mlx5: prepare Direct Verbs for Direct Rule > net/mlx5: add Direct Rules API > net/mlx5: add jump action support for NIC >=20 > drivers/net/mlx5/Makefile | 5 + > drivers/net/mlx5/mlx5.c | 16 ++ > drivers/net/mlx5/mlx5.h | 23 ++ > drivers/net/mlx5/mlx5_flow.c | 1 + > drivers/net/mlx5/mlx5_flow.h | 38 ++- > drivers/net/mlx5/mlx5_flow_dv.c | 509 > ++++++++++++++++++++++++++++++++++------ > drivers/net/mlx5/mlx5_glue.c | 300 +++++++++++++++++++---- > drivers/net/mlx5/mlx5_glue.h | 50 ++-- > drivers/net/mlx5/mlx5_prm.h | 24 +- > 9 files changed, 832 insertions(+), 134 deletions(-) >=20 > -- > 1.8.3.1