mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
ofp-actions: Distinguish OF1.1/1.2 push_mpls from OF1.3+.
In OpenFlow 1.1 and 1.2, the push_mpls action pushes the MPLS label after any existing VLAN tag. In OpenFlow 1.3, it pushes the label before any existing VLAN tag. Until now, the action parser didn't distinguish these cases. This commit adds support. Nothing yet actually changes the behavior of push_mpls. enum ofpact_mpls_position contributed by Ben Pfaff. Signed-off-by: Joe Stringer <joe@wand.net.nz> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -974,7 +974,7 @@ int ofputil_decode_group_stats_reply(struct ofpbuf *,
|
||||
struct ofputil_group_stats *);
|
||||
|
||||
int ofputil_decode_group_desc_reply(struct ofputil_group_desc *,
|
||||
struct ofpbuf *);
|
||||
struct ofpbuf *, enum ofp_version);
|
||||
|
||||
void ofputil_append_group_desc_reply(const struct ofputil_group_desc *,
|
||||
struct list *buckets,
|
||||
|
||||
Reference in New Issue
Block a user