Skip to content

add tcp flags match support to flower and offload it

Jiri Pirko netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- removed no longer relevant comment from patch 1 as suggested by Or
- sent correct patches this time

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: flow_dissector: add support for dissection of tcp flagsinclude/net/flow_dissector.h net/core/flow_dissector.c+38 -00 replies
2/5net/sched: flower: add support for matching on tcp flagsinclude/uapi/linux/pkt_cls.h net/sched/cls_flower.c+15 -10 replies
3/5mlxsw: acl: Add tcp flags acl elementdrivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+3 -00 replies
4/5mlxsw: spectrum: Add acl block containing tcp flags for ipv4drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.h+6 -00 replies
5/5mlxsw: spectrum_flower: Add support for tcp flagsdrivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+30 -00 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchOr GerlitzIdo Schimmel
1/5A-b
2/5
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [patch net-next v2 0/5] add tcp flags match support to flower and offload it

From: Jiri Pirko <[email protected]>

This patch adds support to dissect tcp flags, match on them using flower classifier and offload such rules to mlxsw Spectrum devices.

---
v1->v2:
- removed no longer relevant comment from patch 1 as suggested by Or
- sent correct patches this time

Jiri Pirko (5):
net: flow_dissector: add support for dissection of tcp flags net/sched: flower: add support for matching on tcp flags
mlxsw: acl: Add tcp flags acl element
mlxsw: spectrum: Add acl block containing tcp flags for ipv4
mlxsw: spectrum_flower: Add support for tcp flags

 .../ethernet/mellanox/mlxsw/core_acl_flex_keys.h   |  2 ++
 .../mellanox/mlxsw/spectrum_acl_flex_keys.h        |  6 +++++
 .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c    |  1 +
 .../net/ethernet/mellanox/mlxsw/spectrum_flower.c  | 30 ++++++++++++++++++++++
 include/net/flow_dissector.h                       |  9 +++++++
 include/uapi/linux/pkt_cls.h                       |  3 +++
 net/core/flow_dissector.c                          | 29 +++++++++++++++++++++
 net/sched/cls_flower.c                             | 13 +++++++++-
 8 files changed, 92 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.3