Hi Justin, Thanks. If we need to create our own queues, we need to find out whether there is space in the kernel queue before sending a packet. So, need to use the netdev_send_wait( ) function before using netdev_send( ) to send a packet. The netdev_send_wait( ) function uses looping to check if there is buffer space. Hence, if the single thread is held up in the loop, wont it affect the incoming packets at the input port? How will it receive new packets at the same time it is in the loop? Please correct me if I am wrong.
- Mathumitha > Subject: Re: [ovs-discuss] Creating own queues > From: jpet...@nicira.com > Date: Mon, 17 Dec 2012 23:49:23 -0800 > CC: discuss@openvswitch.org > To: cerisierfi...@hotmail.com > > Yes, OVS's user space programs are single-threaded, but I'm not sure how that > relates to queues. > > --Justin > > > On Dec 17, 2012, at 11:44 PM, Mathumitha S <cerisierfi...@hotmail.com> wrote: > > > > > Hi all, > > Is OpenvSwitch single-threaded? If so, is it meaningful > > to implement our own queues to obtain the queue statistics because > > OpenvSwitch does not give any details about the queue length? > > > > Thanks, > > Mathumitha > > > > _______________________________________________ > > discuss mailing list > > discuss@openvswitch.org > > http://openvswitch.org/mailman/listinfo/discuss >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss