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 4D97CC43461 for ; Wed, 9 Sep 2020 20:30:27 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id C637620C09 for ; Wed, 9 Sep 2020 20:30:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C637620C09 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 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 Content-Transfer-Encoding: 8bit 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 -- 2.26.2