From patchwork Wed Sep 9 20:30:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Vesnovaty X-Patchwork-Id: 77084 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 28777A04B5; Wed, 9 Sep 2020 22:30:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 26A5F1BE0C; Wed, 9 Sep 2020 22:30:25 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 181D41B9B7 for ; Wed, 9 Sep 2020 22:30:22 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from andreyv@nvidia.com) with SMTP; 9 Sep 2020 23:30:21 +0300 Received: from nvidia.com (r-arch-host11.mtr.labs.mlnx [10.213.43.60]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 089KUKbO023874; Wed, 9 Sep 2020 23:30:20 +0300 From: Andrey Vesnovaty To: dev@dpdk.org Cc: thomas@nvidia.net, orika@nvidia.com, viacheslavo@nvidia.com, andrey.vesnovaty@gmail.com, ozsh@nvidia.com, elibr@nvidia.com, alexr@nvidia.com, roniba@nvidia.com Date: Wed, 9 Sep 2020 23:30:05 +0300 Message-Id: <20200909203008.25563-1-andreyv@nvidia.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [dpdk-dev] [RFC 0/3] 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. Andrey Vesnovaty (3): ethdev: add item/action for SFT ethdev: support SFT APIs sft: introduce API lib/librte_ethdev/rte_ethdev.c | 7 + lib/librte_ethdev/rte_ethdev.h | 16 + lib/librte_ethdev/rte_ethdev_core.h | 1 + lib/librte_ethdev/rte_flow.h | 84 +++ lib/librte_sft/Makefile | 28 + lib/librte_sft/meson.build | 7 + lib/librte_sft/rte_sft.c | 9 + lib/librte_sft/rte_sft.h | 845 ++++++++++++++++++++++++++++ lib/librte_sft/rte_sft_driver.h | 195 +++++++ lib/librte_sft/rte_sft_version.map | 21 + 10 files changed, 1213 insertions(+) create mode 100644 lib/librte_sft/Makefile create mode 100644 lib/librte_sft/meson.build create mode 100644 lib/librte_sft/rte_sft.c create mode 100644 lib/librte_sft/rte_sft.h create mode 100644 lib/librte_sft/rte_sft_driver.h create mode 100644 lib/librte_sft/rte_sft_version.map