[ovs-discuss] which part of OVS code deals with rule selection and forwarding of packets

Padma Jayasankar padmajs80 at gmail.com
Sat Oct 25 03:44:04 UTC 2014


HI,
  Thanks for the information. I read the artcle. As i am new to OVS ,still
have some doubts.
I am using POX controller and Mininet along with OVS. As per my
understanding, when i give a ping comand in Mininet,as this will be the
first packet of that flow, there won't be any cache for this flow.Hence
will it be directed to userspace? Once the ping is over, till how much
tiime will the kernel cache retail the data?
  while directed to userspace, which function will handle it.Is it
handle_upcalls() of ofproto.c. Please clarify

Thanks and Regards,
Padma V

On Sat, Oct 25, 2014 at 3:10 AM, tim huang <pdshly at gmail.com> wrote:

> It depends if there is the cache in the kernel space. if there is, the
> packet will be forwarded within kernel space. If not, it will also need the
> program in the user space.
>
>  you can take a look at the article which helped me a lot.
> http://wangcong.org/blog/archives/2131
>
> On Fri, Oct 24, 2014 at 3:10 PM, Padma Jayasankar <padmajs80 at gmail.com>
> wrote:
>
>> Hi,
>>   In OVS, when a packet arrives(when i give a ping requrst in mininet),
>> which part of the code handles the incoming packet. (ie) which part finds
>> the matching rule and forwards the packet to next switch.
>>
>> Thanks and regards,
>> Padma V
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
>
> --
> Thanks
> Tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141025/01bd14e5/attachment-0002.html>


More information about the discuss mailing list