From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ori Kam Subject: [PATCH v3 0/3] net/mlx5: Add Direct Rule support Date: Wed, 3 Apr 2019 13:21:54 +0000 Message-ID: <1554297697-13525-1-git-send-email-orika@mellanox.com> References: <1553790741-69362-1-git-send-email-orika@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Ori Kam , Slava Ovsiienko To: Matan Azrad , Yongseok Koh , Shahaf Shuler Return-path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id D3A471B2AD for ; Wed, 3 Apr 2019 15:21:55 +0200 (CEST) In-Reply-To: <1553790741-69362-1-git-send-email-orika@mellanox.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch set adds support for Direct Rules API for MLX5 driver. As more and more applications like OVS are inserting and removing large number of flows, the flow insertion rate become more critical. In current MLX5 PMD rules are inserted to the device using the FW, this limits the max insertion rate. The solution is using a new set of API that are part of RDMA-Core. which enables bypassing the FW and writing the flows directly to the device, which results in a much faster insertion rate.=20 v3: * Address comments from ML. * rebase. v2: * Small issues fixed. * Rebased.=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 drivers/net/mlx5/Makefile | 7 +- drivers/net/mlx5/meson.build | 2 +- 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 | 506 ++++++++++++++++++++++++++++++++++--= ---- drivers/net/mlx5/mlx5_glue.c | 300 ++++++++++++++++++++---- drivers/net/mlx5/mlx5_glue.h | 50 ++-- drivers/net/mlx5/mlx5_prm.h | 24 +- 10 files changed, 835 insertions(+), 132 deletions(-) --=20 1.8.3.1