From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: [PATCH net-next v6 0/2] net/sched: cls_flower: Support matching on ICMP Date: Wed, 7 Dec 2016 13:48:26 +0100 Message-ID: <1481114908-24189-1-git-send-email-simon.horman@netronome.com> Cc: Tom Herbert , David Miller , netdev@vger.kernel.org, Simon Horman To: Jiri Pirko Return-path: Received: from mail-wj0-f172.google.com ([209.85.210.172]:34818 "EHLO mail-wj0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbcLGMsd (ORCPT ); Wed, 7 Dec 2016 07:48:33 -0500 Received: by mail-wj0-f172.google.com with SMTP id v7so359576844wjy.2 for ; Wed, 07 Dec 2016 04:48:32 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: Hi, this series adds support for matching on ICMP type and code to cls_flower. Changes v5->v6: * Restore missing signed-off-by Changes v4->v5: * Drop all helpers Changes v3->v4: * Do not add icmp to struct flow_keys, it is not needed * Do not test for ICMP protocols in packet in __skb_flow_dissect, this is also not needed Changes v2->v3: * Add FLOW_DISSECTOR_KEY_ICMP and use separate structure for ICMP Changes v1->v2: * Include all dissector helpers in first patch Simon Horman (2): flow dissector: ICMP support net/sched: cls_flower: Support matching on ICMP type and code include/net/flow_dissector.h | 17 ++++++++++++++ include/uapi/linux/pkt_cls.h | 10 +++++++++ net/core/flow_dissector.c | 31 ++++++++++++++++++++++++++ net/sched/cls_flower.c | 53 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+) -- 2.7.0.rc3.207.g0ac5344