[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [Problem] about src/xen/include/public/io/ring.h
Hi,
there is a macro in io/ring.h as follows: 211#define RING_HAS_UNCONSUMED_REQUESTS(_r) ({ \ |
212 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \ 213 unsigned int rsp = RING_SIZE(_r) - \
214 ((_r)->req_cons - (_r)->rsp_prod_pvt); \ 215 req < rsp ? req : rsp; \
216}) Anyone could explain this? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |