This series add the UAPI to provide set of flags for matching, where the flags provided from user-space are mapped to flow-dissector flags.
The 1st flag allows to match on whether the packet is an IP fragment and corresponds to the FLOW_DIS_IS_FRAGMENT flag. Or Or Gerlitz (3): net/flow_dissector: Enable matching on flags for TC filter consumers net/sched: cls_flower: Add support for matching on flags net/mlx5e: Offload TC matching on packets being IP fragments drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 12 ++++ include/net/flow_dissector.h | 2 +- include/uapi/linux/pkt_cls.h | 7 +++ net/sched/cls_flower.c | 83 +++++++++++++++++++++++++ 4 files changed, 103 insertions(+), 1 deletion(-) -- 2.3.7
