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 2EDB1A051A; Sat, 20 Jun 2020 15:32:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F29181BFA1; Sat, 20 Jun 2020 15:32:43 +0200 (CEST) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by dpdk.org (Postfix) with ESMTP id 94DD11BF9D for ; Sat, 20 Jun 2020 15:32:43 +0200 (CEST) Received: by mail-wm1-f44.google.com with SMTP id l26so10812231wme.3 for ; Sat, 20 Jun 2020 06:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+2QgVkYX/88KoH487FF0MAvwruIlmgvR1iqkveM7m6M=; b=NRTUyRxzNPoDEotXtFSRRfKm3hE8YP+idFLq/LqMSjVLvlO+RIp4u/dNwODU0z4uuY bQ49u8xipOQqV0fkKLC6UDoEhLGp7EwQgg5+qvcXIWMa0X/yQ/+NiKEI/CAjIrJSecSN TpAuX2NecbVRBuNp4Gw0t97aBxl53Uq9FRiNHj42e0eUnrdhBXHQEcaBVBJJ1bt+ybBI TNc1XxF4dxO2IdNL3ljs+y2Y4i73KueecSvXTOabv4jj4+03YQX1iFBq9Ra3NSplhLFW 9bTOi5BQbLlZ++uyj0SOCjhcy3z9qN0eqEZBh3ppn/Haz7RrhoCgBQK/C2OKcqCokxZM YT8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+2QgVkYX/88KoH487FF0MAvwruIlmgvR1iqkveM7m6M=; b=CVOSX9nKPn4GKIEtiQ5fIqqiXd/9QKuTkIEdhgIHULwluPf4BxoIH3nokT2kXsClv5 A/BkR1RTz8lnlHvXUEGVkAxvl19kZR0JdZ/GQqaXCXmB9RyLYdPDd8o8dUGrZFZJ+XUB 0VpjOJdBAzLJroZlkg80agNwN65Y5nI9SPQNV908nLf060NIbslOSjWhv+RcUhDPxGV0 I9xgpN9F8O7HtGR/ktpE3lhYUsxrevE+XkTejYfgmgWl3Z5kXJUT/dzpw+tOXFmLEdNH ELDHyQmgBahXrFEnENDJSN6RXpIMJgAuyAsAhNS/2yg7qUb1oRRLyit6SV1x8E3j0o8z dnFw== X-Gm-Message-State: AOAM531d5Hl79EdOZGTEllXigNwzoL7ltISSeyPDFm8AjOjPJKRUM1vg A7WAgpMcREHZ3kdMCxy5q3U= X-Google-Smtp-Source: ABdhPJwXoVDCnn+xoV+lF2GluH/kqMkC7FjdIPgF+CMVfIVwuHiNp4VEnPMNvZ9n2uOZX5WJXh0pfA== X-Received: by 2002:a7b:ce1a:: with SMTP id m26mr6549678wmc.166.1592659963221; Sat, 20 Jun 2020 06:32:43 -0700 (PDT) Received: from r-arch-host11.mtr.labs.mlnx. ([37.142.13.130]) by smtp.gmail.com with ESMTPSA id c20sm2750287wrb.65.2020.06.20.06.32.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Jun 2020 06:32:42 -0700 (PDT) From: Andrey Vesnovaty To: jerinjacobk@gmail.com, thomas@monjalon.net Cc: dev@dpdk.org, Andrey Vesnovaty Date: Sat, 20 Jun 2020 16:32:31 +0300 Message-Id: <20200620133231.12355-1-andrey.vesnovaty@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC v2 0/1] add flow action context API 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" Hi, and thanks a lot for your RFC v1 comments. RFC v2 emphasize the intent for sharing the flow action: * The term 'action context' was unclear and replaced with 'shared action'. * RFC v2 subject became 'add flow shared action API'. * all proposed APIs renamed according the above. The new shared action is an independent entity decoupled from any flow while any flow can reuse such an action. Please go over the RFC description, it was almost entirely rewritten. @Jerin Jacob: Thanks again for your comments, it made me admit that v1 description was incomplete & unclear. I hope v2 will be better at least in terms of clarity. @Thomas Monjalon: rte_flow_action_ctx_modify() -> rte_flow_action_ctx_modify() Looking forward to your responses on v2, thanks in advance. Andrey Vesnovaty (1): add flow shared action API lib/librte_ethdev/rte_ethdev_version.map | 6 + lib/librte_ethdev/rte_flow.c | 81 +++++++++++++ lib/librte_ethdev/rte_flow.h | 143 ++++++++++++++++++++++- lib/librte_ethdev/rte_flow_driver.h | 22 ++++ 4 files changed, 251 insertions(+), 1 deletion(-) -- 2.26.2