openvswitch: Add basic MPLS support to kernel
Allow datapath to recognize and extract MPLS labels into flow keys and execute actions which push, pop, and set labels on packets. Based heavily on work by Leo Alterman, Ravi K, Isaku Yamahata and Joe Stringer. Cc: Ravi K <rkerur@gmail.com> Cc: Leo Alterman <lalterman@nicira.com> Cc: Isaku Yamahata <yamahata@valinux.co.jp> Cc: Joe Stringer <joe@wand.net.nz> Signed-off-by:Simon Horman <horms@verge.net.au> Signed-off-by:
Jesse Gross <jesse@nicira.com> Signed-off-by:
Pravin B Shelar <pshelar@nicira.com>
Showing
- include/net/mpls.h 39 additions, 0 deletionsinclude/net/mpls.h
- include/uapi/linux/openvswitch.h 32 additions, 0 deletionsinclude/uapi/linux/openvswitch.h
- net/core/dev.c 2 additions, 1 deletionnet/core/dev.c
- net/openvswitch/Kconfig 1 addition, 0 deletionsnet/openvswitch/Kconfig
- net/openvswitch/actions.c 105 additions, 1 deletionnet/openvswitch/actions.c
- net/openvswitch/datapath.c 3 additions, 3 deletionsnet/openvswitch/datapath.c
- net/openvswitch/flow.c 30 additions, 0 deletionsnet/openvswitch/flow.c
- net/openvswitch/flow.h 11 additions, 6 deletionsnet/openvswitch/flow.h
- net/openvswitch/flow_netlink.c 121 additions, 18 deletionsnet/openvswitch/flow_netlink.c
- net/openvswitch/flow_netlink.h 1 addition, 1 deletionnet/openvswitch/flow_netlink.h
Loading
Please register or sign in to comment