[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lguest
Subject:    [Lguest] virtqueue kick always necessary?
From:       Earlence Fernandes <earlenceferns () gmail ! com>
Date:       2013-06-20 3:22:48
Message-ID: CA+ve00QCBM31pBEFGxBJSm75Z47HcCxapKWRo77O6cAMS+sEzQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


suppose I allocate 10  buffers in the guest and kick them to the host.

the host caches the buffers on reception of the kick, and then uses
them one by one. when all are used up, it just cycles back to the first
and uses it again. I've noticed this works in practice.

So I want to confirm, a kick is not always necessary right? My
understanding is
that its only needed as a notification mechanism of (new) buffer
availability
and possibly new data in the buffers to be acted upon. The kick is not
necessary to creating the availability of buffers in the host once they are
used.

correct me if I'm wrong.

-Earlence

[Attachment #5 (text/html)]

<div dir="ltr">suppose I allocate 10  buffers in the guest and kick them to the \
host.<div><br></div><div>the host caches the buffers on reception of the kick, and \
then uses</div><div>them one by one. when all are used up, it just cycles back to the \
first</div>

<div>and uses it again. I&#39;ve noticed this works in \
practice.</div><div><br></div><div>So I want to confirm, a kick is not always \
necessary right? My understanding is</div><div>that its only needed as a notification \
mechanism of (new) buffer availability</div>

<div>and possibly new data in the buffers to be acted upon. The kick is \
not</div><div>necessary to creating the availability of buffers in the host once they \
are used.</div><div><br></div><div>correct me if I&#39;m wrong.</div>

<div><br></div><div>-Earlence</div></div>



_______________________________________________
Lguest mailing list
Lguest@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/lguest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic