Skip to content

TCP flow classification using 4-tuple and flags

Sowmini Varadhan dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2examples/flow_classify: hooks for filters on tcp flagsexamples/flow_classify/flow_classify.c examples/flow_classify/ipv4_rules_file.txt+91 -181 reply
2/2examples/flow_classify: add an ACL table for tcpexamples/flow_classify/flow_classify.c lib/flow_classify/rte_flow_classify.c lib/flow_classify/rte_flow_classify.h +1 more+142 -135 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/2] TCP flow classification using 4-tuple and flags

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(-)
Signature · 1 line
2.17.1