[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1560343906-19426-1-git-send-email-john.hurley@netronome.com>
Date: Wed, 12 Jun 2019 13:51:43 +0100
From: John Hurley <john.hurley@...ronome.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, xiyou.wangcong@...il.com,
simon.horman@...ronome.com, jakub.kicinski@...ronome.com,
oss-drivers@...ronome.com, John Hurley <john.hurley@...ronome.com>
Subject: [PATCH net-next 0/3] Add MPLS actions to TC
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
Powered by blists - more mailing lists