Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A1ACC2D0A3 for ; Wed, 4 Nov 2020 13:17:51 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 5A34E20759 for ; Wed, 4 Nov 2020 13:17:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A34E20759 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 03BEAC916; Wed, 4 Nov 2020 14:17:48 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 1E1DCC90E for ; Wed, 4 Nov 2020 14:17:45 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from orika@nvidia.com) with SMTP; 4 Nov 2020 15:17:44 +0200 Received: from MTL-ORIKA.mtl.com ([172.27.14.169]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0A4DHhw1025641; Wed, 4 Nov 2020 15:17:43 +0200 From: Ori Kam To: andreyv@nvidia.com, mdr@ashroe.eu Cc: alexr@nvidia.com, andrey.vesnovaty@gmail.com, arybchenko@solarflare.com, dev@dpdk.org, elibr@nvidia.com, ferruh.yigit@intel.com, orika@nvidia.com, ozsh@nvidia.com, roniba@nvidia.com, thomas@nvidia.net, viacheslavo@nvidia.com Date: Wed, 4 Nov 2020 15:17:35 +0200 Message-Id: <20201104131737.10006-1-orika@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200909203008.25563-1-andreyv@nvidia.com> References: <20200909203008.25563-1-andreyv@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC v3 0/2] introduce stateful flow table 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" The RFC introduces Stateful Flow Table (SFT) API and changes needed in both ethdev an RTE flow to support SFT functionality. SFT library provides a framework for applications that need to maintain context across different packets of the connection. The goals of the SFT library: - Accelerate flow recognition & its context retrieval for further lookaside processing. - Enable context-aware flow handling offload. Change log: v3: - add change log. - change to RFC v2: - Add queue approach in the SFT. - Move to ethdev. - update based on ML commentes. *** BLURB HERE *** Andrey Vesnovaty (1): ethdev: add item/action for SFT Ori Kam (1): ethdev: introduce sft lib lib/librte_ethdev/meson.build | 3 + lib/librte_ethdev/rte_ethdev_version.map | 19 + lib/librte_ethdev/rte_flow.h | 75 ++ lib/librte_ethdev/rte_sft.c | 9 + lib/librte_ethdev/rte_sft.h | 877 +++++++++++++++++++++++ lib/librte_ethdev/rte_sft_driver.h | 201 ++++++ 6 files changed, 1184 insertions(+) create mode 100644 lib/librte_ethdev/rte_sft.c create mode 100644 lib/librte_ethdev/rte_sft.h create mode 100644 lib/librte_ethdev/rte_sft_driver.h -- 2.25.1