Message ID | 1555586930-109097-1-git-send-email-orika@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 626F11B994; Thu, 18 Apr 2019 13:29:10 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 852351B94E for <dev@dpdk.org>; Thu, 18 Apr 2019 13:29:00 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with ESMTPS (AES256-SHA encrypted); 18 Apr 2019 14:28:58 +0300 Received: from pegasus03.mtr.labs.mlnx (pegasus03.mtr.labs.mlnx [10.210.16.124]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3IBSwjs024378; Thu, 18 Apr 2019 14:28:58 +0300 From: Ori Kam <orika@mellanox.com> To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com, viacheslavo@mellanox.com, motih@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Thu, 18 Apr 2019 11:28:41 +0000 Message-Id: <1555586930-109097-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1555276357-4892-1-git-send-email-orika@mellanox.com> References: <1555276357-4892-1-git-send-email-orika@mellanox.com> Subject: [dpdk-dev] [PATCH v2 0/9] net/mlx5: add Direct Verbs E-Switch support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
net/mlx5: add Direct Verbs E-Switch support
|
|
Message
Ori Kam
April 18, 2019, 11:28 a.m. UTC
Currently MLX5 PMD supports 3 flow engines: Verbs, Direct Verbs and TCF. The first two engines are for Nic steering while the TCF is for E-Switch steering. This series add E-Switch steering support also for the DV engine. In order to support the new capability there should be support from both the RDMA and from the NIC. V2: * Address ML comments Ori Kam (9): net/mlx5: fix translate vport function name net/mlx5: fix meson build for Direct Rules net/mlx5: add Direct Rules E-Switch support net/mlx5: add validation for Direct Rule E-Switch net/mlx5: add port ID item to Direct Verbs net/mlx5: add transfer attribute to matcher net/mlx5: add E-Switch port ID action to Direct Verbs net/mlx5: add Forward Database table type net/mlx5: add drop action to Direct Verbs E-Switch drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/meson.build | 4 + drivers/net/mlx5/mlx5.c | 62 +++- drivers/net/mlx5/mlx5.h | 17 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 44 +++ drivers/net/mlx5/mlx5_ethdev.c | 41 +++ drivers/net/mlx5/mlx5_flow.c | 3 +- drivers/net/mlx5/mlx5_flow.h | 19 ++ drivers/net/mlx5/mlx5_flow_dv.c | 585 +++++++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_glue.c | 26 ++ drivers/net/mlx5/mlx5_glue.h | 2 + drivers/net/mlx5/mlx5_prm.h | 328 +++++++++++++++++++++ 12 files changed, 1065 insertions(+), 71 deletions(-)