From patchwork Wed Oct 31 07:10:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dekel Peled X-Patchwork-Id: 47597 Return-Path: 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 185C5FEB; Wed, 31 Oct 2018 09:00:24 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 1EAF891 for ; Wed, 31 Oct 2018 09:00:23 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 31 Oct 2018 09:17:05 +0200 Received: from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx [10.128.130.87]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w9V7Bn3c020147; Wed, 31 Oct 2018 09:11:49 +0200 From: Dekel Peled To: yskoh@mellanox.com, shahafs@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Wed, 31 Oct 2018 09:10:40 +0200 Message-Id: <1540969847-48919-1-git-send-email-dekelp@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1540498108-18358-1-git-send-email-dekelp@mellanox.com> References: <1540498108-18358-1-git-send-email-dekelp@mellanox.com> Subject: [dpdk-dev] [PATCH v7 0/7] add encap and decap actions to Direct Verbs flow in MLX5 PMD 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" This series adds support of encap and decap actions in DV format. L2 tunnel support for VXLAN and NVGRE, and L2/L3 tunnel support using raw data buffer. It is using the generic encapsulation framework from [1]. [1] "ethdev: add generic L2/L3 tunnel encapsulation actions" http://mails.dpdk.org/archives/dev/2018-October/114654.html --- v7: * Apply code review comments. * Add caching of encap decap actions. v6: * Adapt L2 tunnel to VXLAN and NVGRE. * Add encap/decap using raw data. v5: * Move DV actions code under common DV flag. v4: * Update in glue functions. v3: * Apply additional code review comments. v2: * Rebase on tip. * Apply code review comments. --- Dekel Peled (7): net/mlx5: add flow action functions to glue net/mlx5: add VXLAN encap action to Direct Verbs net/mlx5: add VXLAN decap action to Direct Verbs net/mlx5: add NVGRE encap action to Direct Verbs net/mlx5: add NVGRE decap action to Direct Verbs net/mlx5: add raw data encap decap to Direct Verbs net/mlx5: add caching of encap decap actions drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/meson.build | 2 +- drivers/net/mlx5/mlx5.h | 1 + drivers/net/mlx5/mlx5_flow.h | 30 ++ drivers/net/mlx5/mlx5_flow_dv.c | 775 +++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_glue.c | 38 ++ drivers/net/mlx5/mlx5_glue.h | 10 + 7 files changed, 850 insertions(+), 8 deletions(-)