Message ID | 1540498108-18358-1-git-send-email-dekelp@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 3F1DE5F14; Thu, 25 Oct 2018 22:09:19 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 670675B3E for <dev@dpdk.org>; Thu, 25 Oct 2018 22:09:17 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 25 Oct 2018 22:14:24 +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 w9PK9EZY028635; Thu, 25 Oct 2018 23:09:14 +0300 From: Dekel Peled <dekelp@mellanox.com> To: yskoh@mellanox.com, shahafs@mellanox.com Cc: dev@dpdk.org, orika@mellanox.com Date: Thu, 25 Oct 2018 23:08:22 +0300 Message-Id: <1540498108-18358-1-git-send-email-dekelp@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1539259967-10975-1-git-send-email-dekelp@mellanox.com> References: <1539259967-10975-1-git-send-email-dekelp@mellanox.com> Subject: [dpdk-dev] [PATCH v6 0/6] 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 <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 |
add encap and decap actions to Direct Verbs flow in MLX5 PMD
|
|
Message
Dekel Peled
Oct. 25, 2018, 8:08 p.m. UTC
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 --- 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 (6): 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 drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/meson.build | 2 +- drivers/net/mlx5/mlx5_flow.h | 15 + drivers/net/mlx5/mlx5_flow_dv.c | 671 +++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_glue.c | 38 +++ drivers/net/mlx5/mlx5_glue.h | 10 + 6 files changed, 731 insertions(+), 7 deletions(-)
Comments
Hi Dekel, Thursday, October 25, 2018 11:08 PM, Dekel Peled: > Subject: [dpdk-dev] [PATCH v6 0/6] add encap and decap actions to Direct > Verbs flow in MLX5 PMD > > 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" > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail > s.dpdk.org%2Farchives%2Fdev%2F2018- > October%2F114654.html&data=02%7C01%7Cshahafs%40mellanox.com > %7C5c61dd00f0ea45acba0608d63ab5c0e6%7Ca652971c7d2e4d9ba6a4d14925 > 6f461b%7C0%7C0%7C636760949640981142&sdata=tdOJhJfndTAP6Uotk > MJrkgBsa7AXljXJRMPsivfveUo%3D&reserved=0 In general looks good, please see some comments to address. > > --- > 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 (6): > 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 > > drivers/net/mlx5/Makefile | 2 +- > drivers/net/mlx5/meson.build | 2 +- > drivers/net/mlx5/mlx5_flow.h | 15 + > drivers/net/mlx5/mlx5_flow_dv.c | 671 > +++++++++++++++++++++++++++++++++++++++- > drivers/net/mlx5/mlx5_glue.c | 38 +++ > drivers/net/mlx5/mlx5_glue.h | 10 + > 6 files changed, 731 insertions(+), 7 deletions(-) > > -- > 1.8.3.1
Thanks, PSB. > -----Original Message----- > From: Shahaf Shuler > Sent: Monday, October 29, 2018 12:03 PM > To: Dekel Peled <dekelp@mellanox.com>; Yongseok Koh > <yskoh@mellanox.com> > Cc: dev@dpdk.org; Ori Kam <orika@mellanox.com> > Subject: RE: [dpdk-dev] [PATCH v6 0/6] add encap and decap actions to > Direct Verbs flow in MLX5 PMD > > Hi Dekel, > > Thursday, October 25, 2018 11:08 PM, Dekel Peled: > > Subject: [dpdk-dev] [PATCH v6 0/6] add encap and decap actions to > > Direct Verbs flow in MLX5 PMD > > > > 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" > > > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail > > s.dpdk.org%2Farchives%2Fdev%2F2018- > > > October%2F114654.html&data=02%7C01%7Cshahafs%40mellanox.com > > > %7C5c61dd00f0ea45acba0608d63ab5c0e6%7Ca652971c7d2e4d9ba6a4d14925 > > > 6f461b%7C0%7C0%7C636760949640981142&sdata=tdOJhJfndTAP6Uotk > > MJrkgBsa7AXljXJRMPsivfveUo%3D&reserved=0 > > In general looks good, please see some comments to address. Thanks, will do. > > > > > --- > > 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 (6): > > 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 > > > > drivers/net/mlx5/Makefile | 2 +- > > drivers/net/mlx5/meson.build | 2 +- > > drivers/net/mlx5/mlx5_flow.h | 15 + > > drivers/net/mlx5/mlx5_flow_dv.c | 671 > > +++++++++++++++++++++++++++++++++++++++- > > drivers/net/mlx5/mlx5_glue.c | 38 +++ > > drivers/net/mlx5/mlx5_glue.h | 10 + > > 6 files changed, 731 insertions(+), 7 deletions(-) > > > > -- > > 1.8.3.1