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.
Jiri Pirko (5):
net: sched: cls_api: make reclassify return all the way back to the
original tp
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
.../ethernet/mellanox/mlxsw/core_acl_flex_keys.h | 2 ++
.../mellanox/mlxsw/spectrum_acl_flex_keys.h | 6 +++++
.../net/ethernet/mellanox/mlxsw/spectrum_flower.c | 1 +
include/net/flow_dissector.h | 9 +++++++
include/uapi/linux/pkt_cls.h | 3 +++
net/core/flow_dissector.c | 31 ++++++++++++++++++++++
net/sched/cls_api.c | 8 +++---
net/sched/cls_flower.c | 13 ++++++++-
8 files changed, 69 insertions(+), 4 deletions(-)
--
2.9.3