Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-29 Thread Greg Kurz
On Sun, 28 Jun 2015 15:03:20 +0200 "Michael S. Tsirkin" wrote: > On Fri, Jun 26, 2015 at 07:05:07PM +0200, Greg Kurz wrote: > > On Fri, 26 Jun 2015 18:28:42 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Fri, Jun 26, 2015 at 02:18:38PM +0200, Greg Kurz wrote: > > > > On Fri, 26 Jun 2015 12:

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-28 Thread Greg Kurz
On Sun, 28 Jun 2015 15:03:20 +0200 "Michael S. Tsirkin" wrote: > On Fri, Jun 26, 2015 at 07:05:07PM +0200, Greg Kurz wrote: > > On Fri, 26 Jun 2015 18:28:42 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Fri, Jun 26, 2015 at 02:18:38PM +0200, Greg Kurz wrote: > > > > On Fri, 26 Jun 2015 12:

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-28 Thread Michael S. Tsirkin
On Fri, Jun 26, 2015 at 07:05:07PM +0200, Greg Kurz wrote: > On Fri, 26 Jun 2015 18:28:42 +0200 > "Michael S. Tsirkin" wrote: > > > On Fri, Jun 26, 2015 at 02:18:38PM +0200, Greg Kurz wrote: > > > On Fri, 26 Jun 2015 12:28:45 +0200 > > > Cornelia Huck wrote: > > > > > > > On Fri, 26 Jun 2015 09

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Greg Kurz
On Fri, 26 Jun 2015 18:28:42 +0200 "Michael S. Tsirkin" wrote: > On Fri, Jun 26, 2015 at 02:18:38PM +0200, Greg Kurz wrote: > > On Fri, 26 Jun 2015 12:28:45 +0200 > > Cornelia Huck wrote: > > > > > On Fri, 26 Jun 2015 09:32:21 +0200 > > > Greg Kurz wrote: > > > > > > > During early virtio 1.0

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Michael S. Tsirkin
On Fri, Jun 26, 2015 at 02:18:38PM +0200, Greg Kurz wrote: > On Fri, 26 Jun 2015 12:28:45 +0200 > Cornelia Huck wrote: > > > On Fri, 26 Jun 2015 09:32:21 +0200 > > Greg Kurz wrote: > > > > > During early virtio 1.0 devel, there were several proposals about how to > > > deal with the endianness

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Greg Kurz
On Fri, 26 Jun 2015 12:28:45 +0200 Cornelia Huck wrote: > On Fri, 26 Jun 2015 09:32:21 +0200 > Greg Kurz wrote: > > > During early virtio 1.0 devel, there were several proposals about how to > > deal with the endianness of the vring descriptor fields: > > - convert the decriptor to host endiann

Re: [Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Cornelia Huck
On Fri, 26 Jun 2015 09:32:21 +0200 Greg Kurz wrote: > During early virtio 1.0 devel, there were several proposals about how to > deal with the endianness of the vring descriptor fields: > - convert the decriptor to host endianness in a single place, and use its > fields directly in the code > -

[Qemu-devel] [PATCH 1/2] dataplane: drop copy_in_vring_desc()

2015-06-26 Thread Greg Kurz
During early virtio 1.0 devel, there were several proposals about how to deal with the endianness of the vring descriptor fields: - convert the decriptor to host endianness in a single place, and use its fields directly in the code - keep the descriptor untouched and use virtio memory helpers to