From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35D45A0C52; Wed, 18 Aug 2021 17:01:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9F3D4069E; Wed, 18 Aug 2021 17:01:20 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id CCC4341134 for ; Wed, 18 Aug 2021 17:01:18 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1065) id 0C59420C32AC; Wed, 18 Aug 2021 08:01:18 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0C59420C32AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1629298878; bh=mfLgt/h3H9jfHKx3VXzN/ti4WnQ9QFAY66NLW4gPZj4=; h=From:To:Cc:Subject:Date:From; b=BmNRycLps1mhxLN1WM1u5Tl/9XoGmmGYpobYq4cVB8jhn6Pi7gPqjOEQQ8KSFIfxY HyoEtkHUvldzNzg1+9m3TnrB8Ptxe3kwOp7/ZyDGxr/vcCBjMuJiVK+Eopx9wGFvst 8yzse13P9qRi3c+P8TrnUKvoiIfTp0w1HluGNytw= From: Sowmini Varadhan To: sowmini05@gmail.com, bernard.iremonger@intel.com, dev@dpdk.org, sovaradh@linux.microsoft.com Cc: thomas@monjalon.net Date: Wed, 18 Aug 2021 08:01:12 -0700 Message-Id: X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH v2 0/2] TCP flow classification using 4-tuple and flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" V2 updates: checkpatch typo fixes, bernard.iremonger review fixes The problem space of TCP flow tracking and classification based on TCP state requires the ability to classify TCP flows on more packet properties than just the 4-tuple, e.g., TCP flags. This patch-set provides the set of changes needed in the examples/flow_classify.c needed to achieve this. Patch 1 extends examples/flow_classify.c to allow constraints on tcp flags. Patch 2 extends the ACL handling in librte_flow_classify to include keys on the properties in addition to the tcp 4-tuple. Sowmini Varadhan (2): examples/flow_classify: hooks for filters on tcp flags examples/flow_classify: add an ACL table for tcp examples/flow_classify/flow_classify.c | 118 +++++++++++++++++--- examples/flow_classify/ipv4_rules_file.txt | 22 ++-- lib/flow_classify/rte_flow_classify.c | 87 +++++++++++++++ lib/flow_classify/rte_flow_classify.h | 19 ++++ lib/flow_classify/rte_flow_classify_parse.c | 8 +- 5 files changed, 228 insertions(+), 26 deletions(-) -- 2.17.1