search for: avail_vq

Displaying 5 results from an estimated 5 matches for "avail_vq".

Did you mean: avail_in
2020 Jun 10
0
[PATCH RFC v7 03/14] vhost: use batched get_vq_desc version
...; > > (Expanding comment in V6): > > We get an infinite loop this way: > * vq->ndescs == 0, so we call fetch_buf() here > * fetch_buf gets less than vhost_vq_num_batch_descs(vq); descriptors. ret = 1 > * This loop calls again fetch_buf, but vq->ndescs > 0 (and avail_vq == > last_avail_vq), so it just return 1 That's what [PATCH RFC v7 08/14] fixup! vhost: use batched get_vq_desc version is supposed to fix. -- MST
2020 Jun 11
0
[PATCH RFC v7 03/14] vhost: use batched get_vq_desc version
...t; > > > > > We get an infinite loop this way: > > > * vq->ndescs == 0, so we call fetch_buf() here > > > * fetch_buf gets less than vhost_vq_num_batch_descs(vq); descriptors. ret = 1 > > > * This loop calls again fetch_buf, but vq->ndescs > 0 (and avail_vq == > > > last_avail_vq), so it just return 1 > > > > That's what > > [PATCH RFC v7 08/14] fixup! vhost: use batched get_vq_desc version > > is supposed to fix. > > > > Sorry, I forgot to include that fixup. > > With it I don't se...
2020 Jun 16
0
[PATCH RFC v7 03/14] vhost: use batched get_vq_desc version
...e loop this way: > > > > > > * vq->ndescs == 0, so we call fetch_buf() here > > > > > > * fetch_buf gets less than vhost_vq_num_batch_descs(vq); descriptors. ret = 1 > > > > > > * This loop calls again fetch_buf, but vq->ndescs > 0 (and avail_vq == > > > > > > last_avail_vq), so it just return 1 > > > > > > > > > > That's what > > > > > [PATCH RFC v7 08/14] fixup! vhost: use batched get_vq_desc version > > > > > is supposed to fix. > > > &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