From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A091E5B16 for ; Sun, 14 Apr 2019 23:13:03 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with ESMTPS (AES256-SHA encrypted); 15 Apr 2019 00:13:01 +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 x3ELD10k027116; Mon, 15 Apr 2019 00:13:01 +0300 From: Ori Kam To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com, viacheslavo@mellanox.com, motih@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Sun, 14 Apr 2019 21:12:28 +0000 Message-Id: <1555276357-4892-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2019 21:13:04 -0000 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. Ori Kam (9): net/mlx5: fix translate vport function name net/mlx5: fix menson compilation with Direct Rules net/mlx5: add Direct Rules configuration 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 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 | 61 +++- drivers/net/mlx5/mlx5.h | 17 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 42 +++ drivers/net/mlx5/mlx5_ethdev.c | 39 +++ drivers/net/mlx5/mlx5_flow.c | 3 +- drivers/net/mlx5/mlx5_flow.h | 19 ++ drivers/net/mlx5/mlx5_flow_dv.c | 597 +++++++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_glue.c | 26 ++ drivers/net/mlx5/mlx5_glue.h | 2 + drivers/net/mlx5/mlx5_prm.h | 328 +++++++++++++++++++++ 12 files changed, 1071 insertions(+), 72 deletions(-) -- 1.8.3.1 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 EB8C9A00E6 for ; Sun, 14 Apr 2019 23:13:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 113135B1C; Sun, 14 Apr 2019 23:13:06 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A091E5B16 for ; Sun, 14 Apr 2019 23:13:03 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@mellanox.com) with ESMTPS (AES256-SHA encrypted); 15 Apr 2019 00:13:01 +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 x3ELD10k027116; Mon, 15 Apr 2019 00:13:01 +0300 From: Ori Kam To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com, viacheslavo@mellanox.com, motih@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Sun, 14 Apr 2019 21:12:28 +0000 Message-Id: <1555276357-4892-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190414211228.vlq2klDr10w47FvYVzY0m9PBgSDU299IWClB-KswgfI@z> 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. Ori Kam (9): net/mlx5: fix translate vport function name net/mlx5: fix menson compilation with Direct Rules net/mlx5: add Direct Rules configuration 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 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 | 61 +++- drivers/net/mlx5/mlx5.h | 17 ++ drivers/net/mlx5/mlx5_devx_cmds.c | 42 +++ drivers/net/mlx5/mlx5_ethdev.c | 39 +++ drivers/net/mlx5/mlx5_flow.c | 3 +- drivers/net/mlx5/mlx5_flow.h | 19 ++ drivers/net/mlx5/mlx5_flow_dv.c | 597 +++++++++++++++++++++++++++++++++----- drivers/net/mlx5/mlx5_glue.c | 26 ++ drivers/net/mlx5/mlx5_glue.h | 2 + drivers/net/mlx5/mlx5_prm.h | 328 +++++++++++++++++++++ 12 files changed, 1071 insertions(+), 72 deletions(-) -- 1.8.3.1