I'm sorry but you need to start looking through things yourself or
perhaps start with a smaller project. I'm not going to be able to give
direction at that level of detail.

On Wed, Jan 1, 2014 at 12:18 PM, Oded Lazar <oded...@gmail.com> wrote:
> Ok. Can you please give me to a starting point? Which files/methods I need
> to look for? It's my first OVS code edit.
>
> Thanks!
>
> On Wednesday, January 1, 2014, Jesse Gross wrote:
>>
>> 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

Reply via email to