Re: [Xen-devel] [PATCH 16/25] argo: implement the notify op

2018-12-20 Thread Jan Beulich
>>> On 20.12.18 at 07:12, wrote: > On Thu, Dec 13, 2018 at 6:06 AM Jan Beulich wrote: >> >> >>> On 01.12.18 at 02:32, wrote: >> > +static uint32_t >> > +argo_ringbuf_payload_space(struct domain *d, struct argo_ring_info >> > *ring_info) >> > +{ >> > +argo_ring_t ring; >> > +int32_t ret;

Re: [Xen-devel] [PATCH 16/25] argo: implement the notify op

2018-12-19 Thread Christopher Clark
On Thu, Dec 13, 2018 at 6:06 AM Jan Beulich wrote: > > >>> On 01.12.18 at 02:32, wrote: > > +static uint32_t > > +argo_ringbuf_payload_space(struct domain *d, struct argo_ring_info > > *ring_info) > > +{ > > +argo_ring_t ring; > > +int32_t ret; > > + > > +ASSERT(spin_is_locked(&ring_

Re: [Xen-devel] [PATCH 16/25] argo: implement the notify op

2018-12-13 Thread Jan Beulich
>>> On 01.12.18 at 02:32, wrote: > +static uint32_t > +argo_ringbuf_payload_space(struct domain *d, struct argo_ring_info > *ring_info) > +{ > +argo_ring_t ring; > +int32_t ret; > + > +ASSERT(spin_is_locked(&ring_info->lock)); > + > +ring.len = ring_info->len; > +if ( !ring.le