On Wed, Jan 1, 2014 at 11:27 AM, Oded Lazar <oded...@gmail.com> wrote: > Sorry, that was an honest mistake. Let's say I want to tweak push_vlan to > add a new tag, even if theres an existing one- > I saw that there's a check to see if there's a vlan header on the frame and > if so, it 'pushes down' the current header, creating space for a new one. If > I drop it, will a new header get created?
I think you're looking at the kernel code but it's userspace that needs changes. OVS handles traffic on a flow basis so you would need to expand the flow and the logic that generates actions (which is based on comparing the flow from the original packet with a flow with modifications). If you do that then the kernel should already be able to insert multiple tags (although it matches on a single level with the standard EtherType). _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev