search for: xxx_split

Displaying 20 results from an estimated 26 matches for "xxx_split".

2018 Sep 07
2
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...es (Jason); > > - Add helper virtqueue_use_indirect() (Jason); > > - Just set id for the last descriptor of a list (Jason); > > - Calculate the prev in virtqueue_add_packed() (Jason); > > - Fix/improve desc suppression code (Jason/MST); > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > - Fix the comments and API in uapi (MST); > > - Remove the BUG_ON() for indirect (Jason); > > - Some other refinements and bug fixes; > > > > RFC v1 -> RFC v2: > > - Add indirect descriptor support - compile test only; > >...
2018 Apr 13
0
[RFC v2] virtio: support packed ring
...turn NULL; > + } > + > + if (!more_used(vq)) { > + pr_debug("No more buffers in queue\n"); > + END_USE(vq); > + return NULL; > + } So virtqueue_get_buf_ctx_split should only call more_used_split. to avoid such issues I think we should lay out the code like this: XXX_split XXX_packed XXX wrappers > +/* The standard layout I'd drop standard here. > for the packed ring is a continuous chunk of memory > + * which looks like this. > + * > + * struct vring_packed > + * { Can the opening bracket go on the prev line pls? > + * // The actual d...
2018 Sep 10
3
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...ueue_use_indirect() (Jason); > > > > - Just set id for the last descriptor of a list (Jason); > > > > - Calculate the prev in virtqueue_add_packed() (Jason); > > > > - Fix/improve desc suppression code (Jason/MST); > > > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > > > - Fix the comments and API in uapi (MST); > > > > - Remove the BUG_ON() for indirect (Jason); > > > > - Some other refinements and bug fixes; > > > > > > > > RFC v1 -> RFC v2: > > > > - Ad...
2018 May 29
0
[RFC v5 2/5] virtio_ring: support creating packed ring
...turn NULL; > > +} > > I think the those copy-and-paste hunks could be avoided and the diff should > only contains renaming of the function. If yes, it would be very welcomed > since it requires to compare the changes verbatim otherwise. Michael suggested to lay out the code as: XXX_split XXX_packed XXX wrappers https://lkml.org/lkml/2018/4/13/410 That's why I moved some code. > > > + > > +/* > > + * The layout for the packed ring is a continuous chunk of memory > > + * which looks like this. > > + * > > + * struct vring_packed { >...
2018 Nov 27
0
[PATCH net-next v3 00/13] virtio: support packed ring
...- Split into small patches (Jason); > - Add helper virtqueue_use_indirect() (Jason); > - Just set id for the last descriptor of a list (Jason); > - Calculate the prev in virtqueue_add_packed() (Jason); > - Fix/improve desc suppression code (Jason/MST); > - Refine the code layout for XXX_split/packed and wrappers (MST); > - Fix the comments and API in uapi (MST); > - Remove the BUG_ON() for indirect (Jason); > - Some other refinements and bug fixes; > > RFC v1 -> RFC v2: > - Add indirect descriptor support - compile test only; > - Add event suppression supprt - c...
2018 Sep 11
2
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...gt; > > > - Just set id for the last descriptor of a list (Jason); > > > > > > - Calculate the prev in virtqueue_add_packed() (Jason); > > > > > > - Fix/improve desc suppression code (Jason/MST); > > > > > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > > > > > - Fix the comments and API in uapi (MST); > > > > > > - Remove the BUG_ON() for indirect (Jason); > > > > > > - Some other refinements and bug fixes; > > > > > > > > > > >...
2018 Nov 21
0
[PATCH net-next v3 00/13] virtio: support packed ring
...- Split into small patches (Jason); > - Add helper virtqueue_use_indirect() (Jason); > - Just set id for the last descriptor of a list (Jason); > - Calculate the prev in virtqueue_add_packed() (Jason); > - Fix/improve desc suppression code (Jason/MST); > - Refine the code layout for XXX_split/packed and wrappers (MST); > - Fix the comments and API in uapi (MST); > - Remove the BUG_ON() for indirect (Jason); > - Some other refinements and bug fixes; > > RFC v1 -> RFC v2: > - Add indirect descriptor support - compile test only; > - Add event suppression supprt - c...
2018 Sep 07
0
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...; - Add helper virtqueue_use_indirect() (Jason); > > > - Just set id for the last descriptor of a list (Jason); > > > - Calculate the prev in virtqueue_add_packed() (Jason); > > > - Fix/improve desc suppression code (Jason/MST); > > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > > - Fix the comments and API in uapi (MST); > > > - Remove the BUG_ON() for indirect (Jason); > > > - Some other refinements and bug fixes; > > > > > > RFC v1 -> RFC v2: > > > - Add indirect descriptor support...
2018 Sep 10
0
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
..._use_indirect() (Jason); >>>>> - Just set id for the last descriptor of a list (Jason); >>>>> - Calculate the prev in virtqueue_add_packed() (Jason); >>>>> - Fix/improve desc suppression code (Jason/MST); >>>>> - Refine the code layout for XXX_split/packed and wrappers (MST); >>>>> - Fix the comments and API in uapi (MST); >>>>> - Remove the BUG_ON() for indirect (Jason); >>>>> - Some other refinements and bug fixes; >>>>> >>>>> RFC v1 -> RFC v2: >>>>>...
2018 Nov 21
1
[PATCH net-next v3 00/13] virtio: support packed ring
...es (Jason); > > - Add helper virtqueue_use_indirect() (Jason); > > - Just set id for the last descriptor of a list (Jason); > > - Calculate the prev in virtqueue_add_packed() (Jason); > > - Fix/improve desc suppression code (Jason/MST); > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > - Fix the comments and API in uapi (MST); > > - Remove the BUG_ON() for indirect (Jason); > > - Some other refinements and bug fixes; > > > > RFC v1 -> RFC v2: > > - Add indirect descriptor support - compile test only; > >...
2018 Sep 12
0
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...gt; - Just set id for the last descriptor of a list (Jason); > > > > > > > - Calculate the prev in virtqueue_add_packed() (Jason); > > > > > > > - Fix/improve desc suppression code (Jason/MST); > > > > > > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > > > > > > - Fix the comments and API in uapi (MST); > > > > > > > - Remove the BUG_ON() for indirect (Jason); > > > > > > > - Some other refinements and bug fixes; > > > > > > > >...
2018 Sep 13
2
[virtio-dev] Re: [PATCH net-next v2 0/5] virtio: support packed ring
...id for the last descriptor of a list (Jason); > > > > > > > > - Calculate the prev in virtqueue_add_packed() (Jason); > > > > > > > > - Fix/improve desc suppression code (Jason/MST); > > > > > > > > - Refine the code layout for XXX_split/packed and wrappers (MST); > > > > > > > > - Fix the comments and API in uapi (MST); > > > > > > > > - Remove the BUG_ON() for indirect (Jason); > > > > > > > > - Some other refinements and bug fixes; > > > > > &...
2018 May 29
2
[RFC v5 2/5] virtio_ring: support creating packed ring
On 2018?05?22? 16:16, Tiwei Bie wrote: > This commit introduces the support for creating packed ring. > All split ring specific functions are added _split suffix. > Some necessary stubs for packed ring are also added. > > Signed-off-by: Tiwei Bie <tiwei.bie at intel.com> > --- > drivers/virtio/virtio_ring.c | 801 +++++++++++++++++++++++------------ >
2018 May 29
2
[RFC v5 2/5] virtio_ring: support creating packed ring
On 2018?05?22? 16:16, Tiwei Bie wrote: > This commit introduces the support for creating packed ring. > All split ring specific functions are added _split suffix. > Some necessary stubs for packed ring are also added. > > Signed-off-by: Tiwei Bie <tiwei.bie at intel.com> > --- > drivers/virtio/virtio_ring.c | 801 +++++++++++++++++++++++------------ >
2018 Nov 21
19
[PATCH net-next v3 00/13] virtio: support packed ring
...rt; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...
2018 Nov 21
19
[PATCH net-next v3 00/13] virtio: support packed ring
...rt; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...
2018 Jun 05
6
[RFC v6 0/5] virtio: support packed ring
...rt; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...
2018 Jul 09
7
[PATCH net-next v1 0/5] virtio: support packed ring
...rt; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...
2018 Apr 25
9
[RFC v3 0/5] virtio: support packed ring
...et; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...
2018 Jul 11
15
[PATCH net-next v2 0/5] virtio: support packed ring
...rt; RFC v2 -> RFC v3: - Split into small patches (Jason); - Add helper virtqueue_use_indirect() (Jason); - Just set id for the last descriptor of a list (Jason); - Calculate the prev in virtqueue_add_packed() (Jason); - Fix/improve desc suppression code (Jason/MST); - Refine the code layout for XXX_split/packed and wrappers (MST); - Fix the comments and API in uapi (MST); - Remove the BUG_ON() for indirect (Jason); - Some other refinements and bug fixes; RFC v1 -> RFC v2: - Add indirect descriptor support - compile test only; - Add event suppression supprt - compile test only; - Move vring_pack...