Message ID | 1582122380-54467-1-git-send-email-suanmingm@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7AC2AA0555; Wed, 19 Feb 2020 15:26:26 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B3581BF78; Wed, 19 Feb 2020 15:26:25 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id F41663B5 for <dev@dpdk.org>; Wed, 19 Feb 2020 15:26:23 +0100 (CET) From: Suanming Mou <suanmingm@mellanox.com> To: viacheslavo@mellanox.com, matan@mellanox.com Cc: dev@dpdk.org, rasland@mellanox.com Date: Wed, 19 Feb 2020 16:26:18 +0200 Message-Id: <1582122380-54467-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap 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: fix incorrect layer choose with decap
|
|
Message
Suanming Mou
Feb. 19, 2020, 2:26 p.m. UTC
For header modify actions after decapsulation action, the header modify actions should be applied to the inner layers. Currently, it always treats the outermost layers as the corresponding layer even though with decapsulation action. Add the layer validation with decapsulation for the header modify action and fix the incorrect layers chosen in header modify action with decapsulation action. Suanming Mou (2): net/mlx5: fix wrong layer validation with decapsulation net/mlx5: fix header modifiy choose wrong layer type drivers/net/mlx5/mlx5_flow_dv.c | 104 +++++++++++++++++++++++++++++++++------- 1 file changed, 87 insertions(+), 17 deletions(-)
Comments
Hi, > -----Original Message----- > From: Suanming Mou <suanmingm@mellanox.com> > Sent: Wednesday, February 19, 2020 4:26 PM > To: Slava Ovsiienko <viacheslavo@mellanox.com>; Matan Azrad > <matan@mellanox.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasland@mellanox.com> > Subject: [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap > > For header modify actions after decapsulation action, the header modify > actions should be applied to the inner layers. > > Currently, it always treats the outermost layers as the corresponding > layer even though with decapsulation action. > > Add the layer validation with decapsulation for the header modify action > and fix the incorrect layers chosen in header modify action with > decapsulation action. > > Suanming Mou (2): > net/mlx5: fix wrong layer validation with decapsulation > net/mlx5: fix header modifiy choose wrong layer type > > drivers/net/mlx5/mlx5_flow_dv.c | 104 > +++++++++++++++++++++++++++++++++------- > 1 file changed, 87 insertions(+), 17 deletions(-) > > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh