Netdev List
 help / color / mirror / Atom feed
From: John Hurley <john.hurley@netronome.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, jiri@mellanox.com, xiyou.wangcong@gmail.com,
	simon.horman@netronome.com, jakub.kicinski@netronome.com,
	oss-drivers@netronome.com,
	John Hurley <john.hurley@netronome.com>
Subject: [PATCH net-next 0/3] Add MPLS actions to TC
Date: Wed, 12 Jun 2019 13:51:43 +0100	[thread overview]
Message-ID: <1560343906-19426-1-git-send-email-john.hurley@netronome.com> (raw)

This patchset introduces a new TC action module that allows the
manipulation of the MPLS headers of packets. The code impliments
functionality including push, pop, and modify.

Also included is a update to the IR action preparation code to allow the
new MPLS actions to be offloaded to HW.

John Hurley (3):
  net: sched: add mpls manipulation actions to TC
  net: sched: include mpls actions in hardware intermediate
    representation
  selftests: tc-tests: actions: add MPLS tests

 include/net/flow_offload.h                         |  10 +
 include/net/tc_act/tc_mpls.h                       |  91 +++
 include/uapi/linux/pkt_cls.h                       |   2 +
 include/uapi/linux/tc_act/tc_mpls.h                |  32 +
 net/sched/Kconfig                                  |  11 +
 net/sched/Makefile                                 |   1 +
 net/sched/act_mpls.c                               | 450 +++++++++++++
 net/sched/cls_api.c                                |  26 +
 .../tc-testing/tc-tests/actions/mpls.json          | 744 +++++++++++++++++++++
 9 files changed, 1367 insertions(+)
 create mode 100644 include/net/tc_act/tc_mpls.h
 create mode 100644 include/uapi/linux/tc_act/tc_mpls.h
 create mode 100644 net/sched/act_mpls.c
 create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/mpls.json

-- 
2.7.4


             reply	other threads:[~2019-06-12 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-12 12:51 John Hurley [this message]
2019-06-12 12:51 ` [PATCH net-next 1/3] net: sched: add mpls manipulation actions to TC John Hurley
2019-06-12 18:03   ` Marcelo Ricardo Leitner
2019-06-13 13:38     ` John Hurley
2019-06-13 13:20   ` Davide Caratti
2019-06-13 13:53     ` John Hurley
2019-06-12 12:51 ` [PATCH net-next 2/3] net: sched: include mpls actions in hardware intermediate representation John Hurley
2019-06-12 12:51 ` [PATCH net-next 3/3] selftests: tc-tests: actions: add MPLS tests John Hurley

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=1560343906-19426-1-git-send-email-john.hurley@netronome.com \
    --to=john.hurley@netronome.com \
    --cc=davem@davemloft.net \
    --cc=jakub.kicinski@netronome.com \
    --cc=jiri@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    --cc=simon.horman@netronome.com \
    --cc=xiyou.wangcong@gmail.com \
    /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