Message ID | 1582206824-103222-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 8CA84A0556; Thu, 20 Feb 2020 14:53:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E49B1BF9D; Thu, 20 Feb 2020 14:53:49 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 79FCB1BF98 for <dev@dpdk.org>; Thu, 20 Feb 2020 14:53:47 +0100 (CET) From: Suanming Mou <suanmingm@mellanox.com> To: matan@mellanox.com, viacheslavo@mellanox.com Cc: dev@dpdk.org, rasland@mellanox.com Date: Thu, 20 Feb 2020 15:53:42 +0200 Message-Id: <1582206824-103222-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1582122664-54731-1-git-send-email-suanmingm@mellanox.com> References: <1582122664-54731-1-git-send-email-suanmingm@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/2] net/mlx5: copy the item flags from prefix flow 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: copy the item flags from prefix flow
|
|
Message
Suanming Mou
Feb. 20, 2020, 1:53 p.m. UTC
For flow split to several subflows, the match items maybe in the prefix flow, and the actions are split to the suffix flow. In this case, for the actions need the user defined match item will not create correctly. Copy the item layers flags to the suffix flow from prefix flow to fix the issue. This patch series should be applied after: https://patches.dpdk.org/project/dpdk/list/?series=8613 v2: Remove the actions flag inherit. Get the layer flags accordingly based on the actions in prefix flow. v3: Fix NULL pointer issue. Suanming Mou (2): net/mlx5: fix layer flags missing in metadata net/mlx5: fix lack of match information in meter drivers/net/mlx5/mlx5_flow.c | 74 +++++++++++++++++++++++++++++++++++------ drivers/net/mlx5/mlx5_flow_dv.c | 59 +++++++++++++++++++++++--------- 2 files changed, 107 insertions(+), 26 deletions(-)
Comments
Hi, Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh > -----Original Message----- > From: Suanming Mou <suanmingm@mellanox.com> > Sent: Thursday, February 20, 2020 3:54 PM > To: Matan Azrad <matan@mellanox.com>; Slava Ovsiienko > <viacheslavo@mellanox.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasland@mellanox.com> > Subject: [PATCH v3 0/2] net/mlx5: copy the item flags from prefix flow > > For flow split to several subflows, the match items maybe in the prefix > flow, and the actions are split to the suffix flow. > > In this case, for the actions need the user defined match item will not > create correctly. > > Copy the item layers flags to the suffix flow from prefix flow to fix > the issue. > > This patch series should be applied after: > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch > es.dpdk.org%2Fproject%2Fdpdk%2Flist%2F%3Fseries%3D8613&data=0 > 2%7C01%7Crasland%40mellanox.com%7Cf520b39d2d0548ae5d2808d7b60c50 > 1d%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637178036316184 > 939&sdata=8ZXhPrT27gbXwseF3TAwVbAslh7nOnt3%2FuzilxJblGE%3D& > amp;reserved=0 > > v2: > Remove the actions flag inherit. Get the layer flags accordingly > based on the actions in prefix flow. > > v3: > Fix NULL pointer issue. > > Suanming Mou (2): > net/mlx5: fix layer flags missing in metadata > net/mlx5: fix lack of match information in meter > > drivers/net/mlx5/mlx5_flow.c | 74 > +++++++++++++++++++++++++++++++++++------ > drivers/net/mlx5/mlx5_flow_dv.c | 59 +++++++++++++++++++++++--------- > 2 files changed, 107 insertions(+), 26 deletions(-) > > -- > 1.8.3.1