RFC mpls: support for ler
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lwtunnels: basic infra for light weight tunnels like mplsinclude/ include/ include/ +3 more | +266 | 0 replies | |
| 2/3 | ipv4 fib: lwtunnel handlinginclude/ include/ net/ +2 more | +50 | 0 replies | |
| 3/3 | mpls: register lwtunnel opsnet/ net/ | +148 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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