Re: [ovs-discuss] How does ovs-vswitchd deliver the packets which are already handled to datapath?

2017-05-06 Thread
Thank you! 在2017-05-06 12:48:50,杨润垲<16125...@bjtu.edu.cn>写道: > I'd suggest reading the code for the kernel module. > > On Sat, May 06, 2017 at 12:49:50AM +0800, 杨润垲 wrote: > > I do not understand where to store these packets in the kernel module, is > > there

Re: [ovs-discuss] How does ovs-vswitchd deliver the packets which are already handled to datapath?

2017-05-05 Thread
I do not understand where to store these packets in the kernel module, is there a queue or buffer to store these packets? 在2017-05-05 23:57:38,杨润垲<16125...@bjtu.edu.cn>写道: > Please don't drop the mailing list. > > OVS sends packets to the kernel module in batches but not neces

[ovs-discuss] why userspace handle many packets once?

2017-04-26 Thread
If the packet can't match the flow table in the kernel module, it will be delivered to ovs-vswitchd. Recv_upcalls() is a part of ovs-vswitchd, the number of packets handled in recv_uopcalls()is UPCALL_MAX_BATCH(default is 50), could you tell me the reason why it's designed so? thank you!

Re: [ovs-discuss] upcall first or the next packet first?

2017-02-06 Thread
thank you! I have another question.Is the ofpbuf stores the packets which are sent to userspace, and the packets which have completed their in userspace and wait for sent to datapath? I wish I had made it clear. Thank you for taking the time to answer my questions. 在2017-02-07 12:26:42,杨润垲

Re: [ovs-discuss] upcall first or the next packet first?

2017-02-06 Thread
I'm sorry I did not make it clear. If a new packet arrive, the rx ssr will occupy the cpu and the process in userspace has to stop, will it? So the thread which in userspace only can be processed when there is no new packet arrival, am I right? thank you very much! 在2017-02-07 13:21:04,杨润垲

Re: [ovs-discuss] how many queues in openvswitch?

2017-01-12 Thread
The queue where the packets are stored, , such as linux rx dma. 在2017-01-12 07:01:57,杨润垲<16125...@bjtu.edu.cn>写道: > On Mon, Jan 09, 2017 at 11:44:36AM +0800, 杨润垲 wrote: > > hello,I am a graduated student in BJTU, China, my major is CS. I'm > > interested in openvswitch,

[ovs-discuss] how many queues in openvswitch?

2017-01-11 Thread
Dear friend: hello,I am a graduated student in BJTU, China, my major is CS. I'm interested in openvswitch, and i have a question. Could you tell me how many queues or buffer are there in openvswitch , and what they are? I'm looking forward to your reply. Thanks! Sincerely yours,