search for: bcefa30a3b2f

Displaying 1 result from an estimated 1 matches for "bcefa30a3b2f".

2020 Jul 16
0
[PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state
...->vqs[idx]; > struct vringh *vrh = &vq->vring; > > + state->state = vq->ready ? 0 : BIT(VQ_STATE_NOT_READY); > state->avail_index = vrh->last_avail_idx; > } > > diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h > index 7b088bebffe8..bcefa30a3b2f 100644 > --- a/include/linux/vdpa.h > +++ b/include/linux/vdpa.h > @@ -27,12 +27,21 @@ struct vdpa_notification_area { > resource_size_t size; > }; > > +/** > + * Bitmask describing the status of the vq > + */ > +enum { > + VQ_STATE_NOT_READY = 0, > +}; &...