netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] Add MPLS actions to TC
@ 2019-06-14 14:58 John Hurley
  2019-06-14 14:58 ` [PATCH net-next v3 1/2] net: sched: add mpls manipulation " John Hurley
  2019-06-14 14:58 ` [PATCH net-next v3 2/2] selftests: tc-tests: actions: add MPLS tests John Hurley
  0 siblings, 2 replies; 6+ messages in thread
From: John Hurley @ 2019-06-14 14:58 UTC (permalink / raw)
  To: netdev
  Cc: davem, jiri, xiyou.wangcong, dcaratti, simon.horman,
	jakub.kicinski, oss-drivers, John Hurley

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 are tests for the new funtionality. Note that these will
require iproute2 changes to be submitted soon.

v2-v3:
- remove a few unnecessary line breaks (Jiri Pirko)
- retract hw offload patch from set (resubmit with driver changes) (Jiri)
v1->v2:
- ensure TCA_ID_MPLS does not conflict with TCA_ID_CTINFO (Davide Caratti)

John Hurley (2):
  net: sched: add mpls manipulation actions to TC
  selftests: tc-tests: actions: add MPLS tests

 include/net/tc_act/tc_mpls.h                       |  27 +
 include/uapi/linux/pkt_cls.h                       |   3 +-
 include/uapi/linux/tc_act/tc_mpls.h                |  32 +
 net/sched/Kconfig                                  |  11 +
 net/sched/Makefile                                 |   1 +
 net/sched/act_mpls.c                               | 447 +++++++++++++
 .../tc-testing/tc-tests/actions/mpls.json          | 744 +++++++++++++++++++++
 7 files changed, 1264 insertions(+), 1 deletion(-)
 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


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

end of thread, other threads:[~2019-06-14 23:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 14:58 [PATCH net-next v3 0/2] Add MPLS actions to TC John Hurley
2019-06-14 14:58 ` [PATCH net-next v3 1/2] net: sched: add mpls manipulation " John Hurley
2019-06-14 17:22   ` David Ahern
2019-06-14 23:22     ` John Hurley
2019-06-14 23:44       ` David Ahern
2019-06-14 14:58 ` [PATCH net-next v3 2/2] selftests: tc-tests: actions: add MPLS tests John Hurley

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).