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

Andy Zhou azhou at ovn.org
Tue Feb 7 20:20:29 UTC 2017


On Tue, Feb 7, 2017 at 4:46 AM, Li, Jingrui <Jingrui.Li at windriver.com> wrote:
> When first packet is not processed and second packet arriving, there no rule
> to treat it, so trigger a new “miss” upcall.

Yes.
>
> I think there will have multi packets in upcall queue until first packet is
> processed.

Yes.
>
>
>
> From: ovs-discuss-bounces at openvswitch.org
> [mailto:ovs-discuss-bounces at openvswitch.org] On Behalf Of 杨润垲
> Sent: Tuesday, February 07, 2017 3:51 PM
> To: yewgang
> Cc: discuss
> Subject: Re: [ovs-discuss] upcall first or the next packet first?
>
>
>
> 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,杨润垲16125201 at bjtu.edu.cn写道:
>
> What's your mean?
>
>
>
> I think packets not belongs to one flow has no relationship, who send first
> depands on nothing.
>
>
>
> rx-softinterrupt is used for driver to receive packets, ovs will not
> interrupt by rx-softinterrupt. I think, I don't know.
>
>
>
> 2017-02-07 9:07 GMT+08:00 杨润垲 <16125201 at bjtu.edu.cn>:
>
> thank you for your reply!
> If there is only one CPU in the system, then the packets in userspace will
> not be processed until no new packets arrive,will it ? Because the
> rx-softinterrupt will always interrupt the process in userspace to work.Is
> this reasonable?    Thanks again!
>
>
> 在2017-02-07 00:38:13,杨润垲<16125201 at bjtu.edu.cn>写道:
>> On Mon, Feb 06, 2017 at 05:13:45PM +0800, 杨润垲 wrote:
>> > Dear predecessors, I have a problem. If ovs receives two packets, the
>> > first one is not in the flow table, and the second one is in the flow
>> > table, then the kernel will send the first packet of information to
>> > the userspace. Does the userspace feedback then process the first
>> > packet, or it wait for the second packet to be processed directly?I'm
>> > looking forward to your reply.
>>
>> The second packet will be processed without waiting for the first one.
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>


More information about the discuss mailing list