Thanks Anoob. This looks more like what I was expecting! For anyone who reads this in the future handle_upcalls() is defined in ofproto-dpif.c.
On 9 May 2013 16:24, Anoob Soman <anoob.so...@citrix.com> wrote: > Hi Ben,**** > > ** ** > > handle_upcalls() is the function in userspace, which handles packets > queued from kernel space. handle_upcall() does a dpif_rcv(). **** > > ** ** > > Thanks,**** > > Anoob.**** > > ** ** > > *From:* discuss-boun...@openvswitch.org [mailto: > discuss-boun...@openvswitch.org] *On Behalf Of *Ben Eyres > *Sent:* 09 May 2013 1:52 PM > *To:* discuss@openvswitch.org > *Subject:* [ovs-discuss] Packets in userspace**** > > ** ** > > Hey,**** > > ** ** > > I have been reading through the code and have managed to work out that the > function call "queue_userspace_packet()" within "ovs_dp_upcall()" is used > to pass the packets up to userspace. But i cant seem to find where this is > received? I saw a similar massage stating that it is collected by > "dpif_linux_recv()".**** > > ** ** > > It is my understanding that if a packet cannot be matched to a flow it is > sent to userspace to see if it can be matched to a flow, but i cant see > anything familiar to this in "dpif_linux_recv()". Can anyone tell me where > i might find this part of the code?**** > > ** ** > > Thanks**** > > Ben**** >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss