Commit Graph
3 Commits
Author SHA1 Message Date
Jiri Benc 85de4a2101 openvswitch: use mpls_hdr
skb_mpls_header is equivalent to mpls_hdr now. Use the existing helper
instead.

Signed-off-by: Jiri Benc <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2016-10-03 02:00:22 -04:00
Jiri Benc 9095e10edd mpls: move mpls_hdr to a common location
This will be also used by openvswitch.

Signed-off-by: Jiri Benc <[email protected]>
Acked-by: David Ahern <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2016-10-03 02:00:21 -04:00
Simon Horman 25cd9ba0ab 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 <[email protected]>
Cc: Leo Alterman <[email protected]>
Cc: Isaku Yamahata <[email protected]>
Cc: Joe Stringer <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Jesse Gross <[email protected]>
Signed-off-by: Pravin B Shelar <[email protected]>
2014-11-05 23:52:33 -08:00