diff options
author | Simon Horman <horms@verge.net.au> | 2014-10-06 12:05:13 (GMT) |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-11-06 07:52:33 (GMT) |
commit | 25cd9ba0abc0749e5cb78e6493c6f6b3311ec6c5 (patch) | |
tree | fbfb953b27fbdcc27d0a50a6e3444532f51f5ffa /net/openvswitch/flow_netlink.h | |
parent | 59b93b41e7fa71138734a911b11b044340dd16bd (diff) | |
download | linux-25cd9ba0abc0749e5cb78e6493c6f6b3311ec6c5.tar.xz |
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>
Diffstat (limited to 'net/openvswitch/flow_netlink.h')
-rw-r--r-- | net/openvswitch/flow_netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow_netlink.h b/net/openvswitch/flow_netlink.h index 206e45a..6355b1d 100644 --- a/net/openvswitch/flow_netlink.h +++ b/net/openvswitch/flow_netlink.h @@ -49,7 +49,7 @@ int ovs_nla_get_match(struct sw_flow_match *match, const struct nlattr *); int ovs_nla_copy_actions(const struct nlattr *attr, - const struct sw_flow_key *key, int depth, + const struct sw_flow_key *key, struct sw_flow_actions **sfa); int ovs_nla_put_actions(const struct nlattr *attr, int len, struct sk_buff *skb); |