netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC net-next 0/2] net/sched: support tunnel options in cls_flower and act_tunnel_key
@ 2017-09-12 14:20 Simon Horman
  2017-09-12 14:20 ` [PATCH/RFC net-next 1/2] net/sched: add tunnel option support to act_tunnel_key Simon Horman
  2017-09-12 14:20 ` [PATCH/RFC net-next 2/2] net/sched: allow flower to match tunnel options Simon Horman
  0 siblings, 2 replies; 9+ messages in thread
From: Simon Horman @ 2017-09-12 14:20 UTC (permalink / raw)
  To: Jiri Pirko, Jamal Hadi Salim, Cong Wang; +Cc: netdev, oss-drivers, Simon Horman

Allow the flower classifier to match on tunnel options and the
tunnel key action to set them.

Tunnel options are a bytestring of up to 256 bytes.
The flower classifier matching with an optional bitwise mask.
Tunnel implementations may support more or less options,
or none at all.

Simon Horman (2):
  net/sched: add tunnel option support to act_tunnel_key
  net/sched: allow flower to match tunnel options

 include/net/flow_dissector.h              | 13 ++++++++++++
 include/uapi/linux/pkt_cls.h              |  3 +++
 include/uapi/linux/tc_act/tc_tunnel_key.h |  1 +
 net/sched/act_tunnel_key.c                | 26 ++++++++++++++++++-----
 net/sched/cls_flower.c                    | 35 ++++++++++++++++++++++++++++++-
 5 files changed, 72 insertions(+), 6 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2017-09-13 13:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 14:20 [PATCH/RFC net-next 0/2] net/sched: support tunnel options in cls_flower and act_tunnel_key Simon Horman
2017-09-12 14:20 ` [PATCH/RFC net-next 1/2] net/sched: add tunnel option support to act_tunnel_key Simon Horman
2017-09-12 14:20 ` [PATCH/RFC net-next 2/2] net/sched: allow flower to match tunnel options Simon Horman
2017-09-12 20:23   ` Or Gerlitz
2017-09-13  9:25     ` [oss-drivers] " Simon Horman
2017-09-13 10:03       ` Or Gerlitz
2017-09-13 11:59         ` Simon Horman
2017-09-13 12:38           ` Or Gerlitz
2017-09-13 13:29             ` 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).