From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13FF4A0555; Thu, 20 Feb 2020 05:00:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F3901B951; Thu, 20 Feb 2020 05:00:54 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 2B6871B13C for ; Thu, 20 Feb 2020 05:00:53 +0100 (CET) From: Suanming Mou To: matan@mellanox.com, viacheslavo@mellanox.com Cc: dev@dpdk.org, rasland@mellanox.com Date: Thu, 20 Feb 2020 06:00:42 +0200 Message-Id: <1582171244-84418-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 v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. 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 | 73 +++++++++++++++++++++++++++++++++++------ drivers/net/mlx5/mlx5_flow_dv.c | 59 ++++++++++++++++++++++++--------- 2 files changed, 107 insertions(+), 25 deletions(-) -- 1.8.3.1