[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Problem] about src/xen/include/public/io/ring.h
On Mon, Apr 8, 2013 at 9:32 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote: Why does the macro for response is :Â
 207#define RING_HAS_UNCONSUMED_RESPONSES(_r)                \ 208  Â((_r)->sring->rsp_prod - (_r)->rsp_cons)
why not the macro for request written like this: #define RING_HAS_UNCONSUMED_REQUESTS(_r) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â \
  ((_r)->sring->req_prod - (_r)->req_cons) The RING_SIZE means the maximum number for the shared ring to accommodate the req/resp message struct, is that?
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |