All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/2] net/sched: cls_flower: Support matching on ICMP
@ 2016-12-07 12:14 Simon Horman
  2016-12-07 12:14 ` [PATCH net-next v5 1/2] flow dissector: ICMP support Simon Horman
  2016-12-07 12:14 ` [PATCH net-next v5 2/2] net/sched: cls_flower: Support matching on ICMP type and code Simon Horman
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Horman @ 2016-12-07 12:14 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 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 12:14 [PATCH net-next v5 0/2] net/sched: cls_flower: Support matching on ICMP Simon Horman
2016-12-07 12:14 ` [PATCH net-next v5 1/2] flow dissector: ICMP support Simon Horman
2016-12-07 12:26   ` Jiri Pirko
2016-12-07 12:44     ` Simon Horman
2016-12-07 12:14 ` [PATCH net-next v5 2/2] net/sched: cls_flower: Support matching on ICMP type and code Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.