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 5AF4AA0C4D; Fri, 13 Aug 2021 09:38:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DAE740DF4; Fri, 13 Aug 2021 09:38:57 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 6117F4014D for ; Thu, 12 Aug 2021 22:17:57 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1065) id 84252209C3B2; Thu, 12 Aug 2021 13:17:56 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 84252209C3B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1628799476; bh=S3+Kq2ZMwT9TOvTwDpnzF8UKRaYR4VMBZW+MKxUp/hM=; h=From:To:Cc:Subject:Date:From; b=V/G95TuRLF3ZYECcnQXVWNmOiclEnFYVOmgBTltdYh9JcTxle5lCJgN5Mz2paPJ5x U/kQWQ4PaFgvE6aADEhPLFkmgTWiFcPmWVLD5qlHTXc0umb+mrQG5HegTozyyTdegX 01Bb1GSFUaj7i64/DBUVwHJaSG3m8/quExGpvny0= From: Sowmini Varadhan To: sowmini05@gmail.com, bernard.iremonger@intel.com, dev@dpdk.org, sovaradh@linux.microsoft.com Cc: thomas@monjalon.net Date: Thu, 12 Aug 2021 13:17:46 -0700 Message-Id: X-Mailer: git-send-email 1.8.3.1 X-Mailman-Approved-At: Fri, 13 Aug 2021 09:38:55 +0200 Subject: [dpdk-dev] [PATCH 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" 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): Hooks to allow the setting of filters on tcp flags Allow the flow_classify example to 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