From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: [PATCH v2 net-next 0/2] net/sched: cls_flower: Support matching on ICMP Date: Fri, 2 Dec 2016 21:31:40 +0100 Message-ID: <1480710702-16850-1-git-send-email-simon.horman@netronome.com> Cc: netdev@vger.kernel.org, Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , Jamal Hadi Salim , Jiri Pirko , Simon Horman To: David Miller Return-path: Received: from mail-wm0-f51.google.com ([74.125.82.51]:38796 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759559AbcLBUcM (ORCPT ); Fri, 2 Dec 2016 15:32:12 -0500 Received: by mail-wm0-f51.google.com with SMTP id f82so25849585wmf.1 for ; Fri, 02 Dec 2016 12:31:58 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Hi, this series add supports for matching on ICMP type and code to cls_flower. This is modeled on existing support for matching on L4 ports. The updates to the dissector are intended to allow for code and storage re-use. Changes v1->v2: * Add all flow dissector helpers in first patch Change RFC->v1: * Drop RFC designation after positive review from Jiri Simon Horman (2): flow dissector: ICMP support net/sched: cls_flower: Support matching on ICMP type and code drivers/net/bonding/bond_main.c | 6 +++-- include/linux/skbuff.h | 5 +++++ include/net/flow_dissector.h | 50 ++++++++++++++++++++++++++++++++++++++--- include/uapi/linux/pkt_cls.h | 10 +++++++++ net/core/flow_dissector.c | 34 +++++++++++++++++++++++++--- net/sched/cls_flow.c | 4 ++-- net/sched/cls_flower.c | 42 ++++++++++++++++++++++++++++++++++ 7 files changed, 141 insertions(+), 10 deletions(-) -- 2.7.0.rc3.207.g0ac5344