[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] RING_FULL() equivalent for responses?



On 04/05/16 10:00, Juergen Gross wrote:
> Hi,
> 
> during review of my qemu pvusb backend patch Anthony raised the
> question why my backend doesn't check for the ring being full before
> using RING_GET_RESPONSE().
> 
> I've checked several existing backends and none of them is doing this
> test. To be precise: There is no macro to test this condition as
> RING_FULL() is doing this kind of test for the request ring only.

Aargh, forget it.

I've misread RING_FULL(). It is checking the request producer against
the response consumer, so everything is correct.

Sorry for the noise.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.