Displaying 13 results from an estimated 13 matches for "vring_desc_f_batch_next".
2017 Feb 08
0
[virtio-dev] packed ring layout proposal v2
...1.0 allows passing a batch of descriptors in both directions, by
> incrementing the used/avail index by values > 1. We can support this by
> chaining a list of descriptors through a bit the flags field.
> To allow use together with s/g, a different bit will be used.
>
> #define VRING_DESC_F_BATCH_NEXT 0x0010
>
> Batching works for both driver and device descriptors.
I'm still not sure how this would be useful. It cannot be mandatory to
set the bit, I think, because you don't know when the host/guest is
going to read descriptors. So both host and guest always have to look
ahead...
2017 Feb 08
5
[virtio-dev] packed ring layout proposal v2
...ch of descriptors in both directions, by
> > incrementing the used/avail index by values > 1. We can support this by
> > chaining a list of descriptors through a bit the flags field.
> > To allow use together with s/g, a different bit will be used.
> >
> > #define VRING_DESC_F_BATCH_NEXT 0x0010
> >
> > Batching works for both driver and device descriptors.
>
> I'm still not sure how this would be useful.
So this is used at least by virtio-net mergeable buffers to combine
many buffers into a single packet.
Similarly, on transmit linux sometimes supplies pa...
2017 Feb 08
5
[virtio-dev] packed ring layout proposal v2
...ch of descriptors in both directions, by
> > incrementing the used/avail index by values > 1. We can support this by
> > chaining a list of descriptors through a bit the flags field.
> > To allow use together with s/g, a different bit will be used.
> >
> > #define VRING_DESC_F_BATCH_NEXT 0x0010
> >
> > Batching works for both driver and device descriptors.
>
> I'm still not sure how this would be useful.
So this is used at least by virtio-net mergeable buffers to combine
many buffers into a single packet.
Similarly, on transmit linux sometimes supplies pa...
2017 Apr 14
0
repost: af_packet vs virtio (was packed ring layout proposal v2)
...hing descriptors:
virtio 1.0 allows passing a batch of descriptors in both directions, by
incrementing the used/avail index by values > 1. We can support this by
chaining a list of descriptors through a bit the flags field.
To allow use together with s/g, a different bit will be used.
#define VRING_DESC_F_BATCH_NEXT 0x0010
Batching works for both driver and device descriptors.
* Processing descriptors in and out of order
Device processing all descriptors in order can simply flip
the DESC_HW bit as it is done with descriptors.
Device can write descriptors out in order as they are used, overwriting
descrip...
2017 Apr 14
0
repost: af_packet vs virtio (was packed ring layout proposal v2)
...hing descriptors:
virtio 1.0 allows passing a batch of descriptors in both directions, by
incrementing the used/avail index by values > 1. We can support this by
chaining a list of descriptors through a bit the flags field.
To allow use together with s/g, a different bit will be used.
#define VRING_DESC_F_BATCH_NEXT 0x0010
Batching works for both driver and device descriptors.
* Processing descriptors in and out of order
Device processing all descriptors in order can simply flip
the DESC_HW bit as it is done with descriptors.
Device can write descriptors out in order as they are used, overwriting
descrip...
2017 Jul 16
1
[virtio-dev] packed ring layout proposal v2
...1.0 allows passing a batch of descriptors in both directions, by
> incrementing the used/avail index by values > 1. We can support this by
> chaining a list of descriptors through a bit the flags field.
> To allow use together with s/g, a different bit will be used.
>
> #define VRING_DESC_F_BATCH_NEXT 0x0010
>
> Batching works for both driver and device descriptors.
>
>
>
> * Processing descriptors in and out of order
>
> Device processing all descriptors in order can simply flip
> the DESC_HW bit as it is done with descriptors.
>
> Device can write descrip...
2017 Feb 08
16
packed ring layout proposal v2
...hing descriptors:
virtio 1.0 allows passing a batch of descriptors in both directions, by
incrementing the used/avail index by values > 1. We can support this by
chaining a list of descriptors through a bit the flags field.
To allow use together with s/g, a different bit will be used.
#define VRING_DESC_F_BATCH_NEXT 0x0010
Batching works for both driver and device descriptors.
* Processing descriptors in and out of order
Device processing all descriptors in order can simply flip
the DESC_HW bit as it is done with descriptors.
Device can write descriptors out in order as they are used, overwriting
descrip...
2017 Feb 08
16
packed ring layout proposal v2
...hing descriptors:
virtio 1.0 allows passing a batch of descriptors in both directions, by
incrementing the used/avail index by values > 1. We can support this by
chaining a list of descriptors through a bit the flags field.
To allow use together with s/g, a different bit will be used.
#define VRING_DESC_F_BATCH_NEXT 0x0010
Batching works for both driver and device descriptors.
* Processing descriptors in and out of order
Device processing all descriptors in order can simply flip
the DESC_HW bit as it is done with descriptors.
Device can write descriptors out in order as they are used, overwriting
descrip...
2017 Jul 19
1
[virtio-dev] packed ring layout proposal v2
...h directions, by
> > > incrementing the used/avail index by values > 1. We can support this by
> > > chaining a list of descriptors through a bit the flags field.
> > > To allow use together with s/g, a different bit will be used.
> > >
> > > #define VRING_DESC_F_BATCH_NEXT 0x0010
> > >
> > > Batching works for both driver and device descriptors.
> > >
> > >
> > >
> > > * Processing descriptors in and out of order
> > >
> > > Device processing all descriptors in order can simply flip
> > >...
2017 Jul 19
1
[virtio-dev] packed ring layout proposal v2
...h directions, by
> > > incrementing the used/avail index by values > 1. We can support this by
> > > chaining a list of descriptors through a bit the flags field.
> > > To allow use together with s/g, a different bit will be used.
> > >
> > > #define VRING_DESC_F_BATCH_NEXT 0x0010
> > >
> > > Batching works for both driver and device descriptors.
> > >
> > >
> > >
> > > * Processing descriptors in and out of order
> > >
> > > Device processing all descriptors in order can simply flip
> > >...
2017 Jul 18
0
[virtio-dev] packed ring layout proposal v2
...ch of descriptors in both directions, by
> > incrementing the used/avail index by values > 1. We can support this by
> > chaining a list of descriptors through a bit the flags field.
> > To allow use together with s/g, a different bit will be used.
> >
> > #define VRING_DESC_F_BATCH_NEXT 0x0010
> >
> > Batching works for both driver and device descriptors.
> >
> >
> >
> > * Processing descriptors in and out of order
> >
> > Device processing all descriptors in order can simply flip
> > the DESC_HW bit as it is done with des...
2017 Mar 01
2
[virtio-dev] packed ring layout proposal v2
...ch of descriptors in both directions, by
> > incrementing the used/avail index by values > 1. We can support this by
> > chaining a list of descriptors through a bit the flags field.
> > To allow use together with s/g, a different bit will be used.
> >
> > #define VRING_DESC_F_BATCH_NEXT 0x0010
> >
> > Batching works for both driver and device descriptors.
>
> Honestly, I don't think it's an efficient way for batching. Neither the
> DESC_F_NEXT nor the BATCH_NEXT tells us how many new descs are there
> for processing: it's just a hint that ther...
2017 Mar 01
2
[virtio-dev] packed ring layout proposal v2
...ch of descriptors in both directions, by
> > incrementing the used/avail index by values > 1. We can support this by
> > chaining a list of descriptors through a bit the flags field.
> > To allow use together with s/g, a different bit will be used.
> >
> > #define VRING_DESC_F_BATCH_NEXT 0x0010
> >
> > Batching works for both driver and device descriptors.
>
> Honestly, I don't think it's an efficient way for batching. Neither the
> DESC_F_NEXT nor the BATCH_NEXT tells us how many new descs are there
> for processing: it's just a hint that ther...