From patchwork Wed Nov 4 13:17:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ori Kam X-Patchwork-Id: 83681 Return-Path: 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 A4E76A04B1; Wed, 4 Nov 2020 14:17:49 +0100 (CET) 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 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