search for: 5993d4f34ca9

Displaying 3 results from an estimated 3 matches for "5993d4f34ca9".

2020 Jun 16
0
[PATCH RFC v7 03/14] vhost: use batched get_vq_desc version
...goto err, and it will signal no new buffer > > (returning vq->num). > > > > So to fix it and maintain the batching maybe we could return vq->ndescs in case ret == 0: > > > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > > index c0dfb5e3d2af..5993d4f34ca9 100644 > > --- a/drivers/vhost/vhost.c > > +++ b/drivers/vhost/vhost.c > > @@ -2315,7 +2327,8 @@ static int fetch_descs(struct vhost_virtqueue *vq) > > > > /* On success we expect some descs */ > > BUG_ON(ret > 0 && !vq->ndescs); &gt...
2020 Jun 10
18
[PATCH RFC v7 00/14] vhost: ring format independence
This intentionally leaves "fixup" changes separate - hopefully that is enough to fix vhost-net crashes reported here, but it helps me keep track of what changed. I will naturally squash them later when we are done. This adds infrastructure required for supporting multiple ring formats. The idea is as follows: we convert descriptors to an independent format first, and process that
2020 Jun 10
18
[PATCH RFC v7 00/14] vhost: ring format independence
This intentionally leaves "fixup" changes separate - hopefully that is enough to fix vhost-net crashes reported here, but it helps me keep track of what changed. I will naturally squash them later when we are done. This adds infrastructure required for supporting multiple ring formats. The idea is as follows: we convert descriptors to an independent format first, and process that