netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin LaHaise <benjamin.lahaise@netronome.com>
To: netdev@vger.kernel.org
Cc: Benjamin LaHaise <bcrl@kvack.org>
Subject: [PATCH net-next 0/2] flower: add MPLS matching support
Date: Sat, 22 Apr 2017 16:52:45 -0400	[thread overview]
Message-ID: <1492894367-11637-1-git-send-email-benjamin.lahaise@netronome.com> (raw)

From: Benjamin LaHaise <bcrl@kvack.org>

This patch series adds support for parsing MPLS flows in the flow dissector
and the flower classifier.  Each of the MPLS TTL, BOS, TC and Label fields
can be used for matching.

v2: incorporate style feedback, move #defines to linux/include/mpls.h
Note: this omits Jiri's request to remove tabs between the type and 
field names in struct declarations.  This would be inconsistent with 
numerous other struct definitions.

Benjamin LaHaise (2):
  flow_dissector: add mpls support (v2)
  cls_flower: add support for matching MPLS fields (v2)

 include/linux/mpls.h         |  5 +++
 include/net/flow_dissector.h |  8 +++++
 include/uapi/linux/pkt_cls.h |  5 +++
 net/core/flow_dissector.c    | 25 +++++++++++++--
 net/sched/cls_flower.c       | 74 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 114 insertions(+), 3 deletions(-)

-- 
2.7.4

             reply	other threads:[~2017-04-22 20:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-22 20:52 Benjamin LaHaise [this message]
2017-04-22 20:52 ` [PATCH net-next 1/2] flow_dissector: add mpls support (v2) Benjamin LaHaise
2017-04-24  7:05   ` Jiri Pirko
2017-04-22 20:52 ` [PATCH net-next 2/2] cls_flower: add support for matching MPLS fields (v2) Benjamin LaHaise
2017-04-24  7:07   ` Jiri Pirko
2017-04-24 18:32 ` [PATCH net-next 0/2] flower: add MPLS matching support David Miller
2017-04-25  0:58   ` Jamal Hadi Salim
2017-04-25  1:05     ` Benjamin LaHaise
2017-04-25  1:25       ` Jamal Hadi Salim
2017-04-25  1:20     ` Jakub Kicinski
2017-04-25  1:48       ` Jamal Hadi Salim
2017-04-25  2:00         ` Jamal Hadi Salim
2017-04-25  2:06           ` Jamal Hadi Salim
2017-04-25  2:07             ` Jakub Kicinski
2017-04-25 11:55               ` Simon Horman
2017-04-25 12:47                 ` Jamal Hadi Salim
2017-04-25 17:26                   ` Benjamin LaHaise

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492894367-11637-1-git-send-email-benjamin.lahaise@netronome.com \
    --to=benjamin.lahaise@netronome.com \
    --cc=bcrl@kvack.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).