Skip to content

RFC mpls: support for ler

Roopa Prabhu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lwtunnels: basic infra for light weight tunnels like mplsinclude/linux/if_lwtunnel.h include/net/lwtunnel.h include/uapi/linux/if_lwtunnel.h +3 more+266 -20 replies
2/3ipv4 fib: lwtunnel handlinginclude/net/dst.h include/net/ip_fib.h net/ipv4/fib_frontend.c +2 more+50 -20 replies
3/3mpls: register lwtunnel opsnet/mpls/af_mpls.c net/mpls/internal.h+148 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH WIP RFC 0/3] mpls: support for ler

From: Roopa Prabhu <[email protected]>

This is still WIP and incomplete.
Posting it here because of the other discussions happening around mpls ler in the context of Roberts code and I happened to mention this implementation.

This was in response to earlier email thread with Eric on net-next of possibly using xfrm style stacked destination approach.

I introduce a new set of tunnel ops for light weight tunnels (lwt), but this could be merged with the other ip_tunnels code if possible.

I had this code for 3.2 kernel initially, and as I was pulling out code, I realize i had to separate out some other mpls code that i have been working on and quite likely this will not even compile. Sorry abt that.

Roopa Prabhu (3):
lwtunnels: basic infra for light weight tunnels like mpls ipv4 fib: lwtunnel handling
mpls: register lwtunnel ops

 include/linux/if_lwtunnel.h      |    8 ++
 include/net/dst.h                |    2 +
 include/net/ip_fib.h             |    5 +-
 include/net/lwtunnel.h           |   61 +++++++++++++
 include/uapi/linux/if_lwtunnel.h |   12 +++
 include/uapi/linux/rtnetlink.h   |    8 +-
 net/Makefile                     |    2 +-
 net/ipv4/fib_frontend.c          |    6 ++
 net/ipv4/fib_semantics.c         |   34 +++++++-
 net/ipv4/route.c                 |    5 ++
 net/lwtunnel.c                   |  177 ++++++++++++++++++++++++++++++++++++++
 net/mpls/af_mpls.c               |  143 ++++++++++++++++++++++++++++++
 net/mpls/internal.h              |    5 ++
 13 files changed, 464 insertions(+), 4 deletions(-)
 create mode 100644 include/linux/if_lwtunnel.h
 create mode 100644 include/net/lwtunnel.h
 create mode 100644 include/uapi/linux/if_lwtunnel.h
 create mode 100644 net/lwtunnel.c
Signature · 1 line
1.7.10.4