On Tue, Dec 24, 2013 at 9:02 AM, Lorand Jakab <[email protected]> wrote: > diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h > index 5137c2f..46b3634 100644 > --- a/include/linux/openvswitch.h > +++ b/include/linux/openvswitch.h > * @OVS_ACTION_ATTR_OUTPUT: Output packet to port. > @@ -569,6 +579,8 @@ enum ovs_action_attr { > OVS_ACTION_ATTR_SAMPLE, /* Nested OVS_SAMPLE_ATTR_*. */ > OVS_ACTION_ATTR_PUSH_MPLS, /* struct ovs_action_push_mpls. */ > OVS_ACTION_ATTR_POP_MPLS, /* __be16 ethertype. */ > + OVS_ACTION_ATTR_PUSH_ETH, /* struct ovs_action_push_eth. */ > + OVS_ACTION_ATTR_POP_ETH, /* No argument. */ > __OVS_ACTION_ATTR_MAX > };
Given that there is no kernel code for MPLS currently checked in, we should temporarily move those attributes to a high value and make the push/pop Ethernet actions be the next in the list after SAMPLE (similar to the MPLS match). _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
