Hi, Because I didn't read that part of OVS, I don't know exactly time for the cache.
The workflow is that it will always lookup the cache in the kernel space. If it can't hit any cache, it will be forwarded to the user space. Eventually, it will be handled by handle_upcalls() of ofproto.c. On Fri, Oct 24, 2014 at 11:44 PM, Padma Jayasankar <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> >> 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 >>> [email protected] >>> http://openvswitch.org/mailman/listinfo/discuss >>> >>> >> >> >> -- >> Thanks >> Tim >> > > -- Thanks Tim
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
