netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/2] net/sched: cls_flower: Support matching on ICMP
@ 2016-12-07 12:48 Simon Horman
  2016-12-07 12:48 ` [PATCH net-next v6 1/2] flow dissector: ICMP support Simon Horman
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Simon Horman @ 2016-12-07 12:48 UTC (permalink / raw)
  To: Jiri Pirko; +Cc: Tom Herbert, David Miller, netdev, Simon Horman

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-09  6:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 12:48 [PATCH net-next v6 0/2] net/sched: cls_flower: Support matching on ICMP Simon Horman
2016-12-07 12:48 ` [PATCH net-next v6 1/2] flow dissector: ICMP support Simon Horman
2016-12-07 13:05   ` Jiri Pirko
2016-12-07 12:48 ` [PATCH net-next v6 2/2] net/sched: cls_flower: Support matching on ICMP type and code Simon Horman
2016-12-07 13:06   ` Jiri Pirko
2016-12-08 16:58 ` [PATCH net-next v6 0/2] net/sched: cls_flower: Support matching on ICMP David Miller
2016-12-08 20:43   ` Or Gerlitz
2016-12-09  6:44   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).