Re: [Qemu-devel] [PATCH v2] e1000: NetClientInfo.receive_iov implemented

2013-09-12 Thread Stefan Hajnoczi
On Wed, Sep 11, 2013 at 12:57:58PM +0200, Vincenzo Maffione wrote: > Thanks for the help! > > Actually I've found out that the variable "copied" I use in this patch can > be removed, we can simply increment the variable "ba" instead (ba += > iov_copy). > > I have the patch v3 to do that ready. Do

Re: [Qemu-devel] [PATCH v2] e1000: NetClientInfo.receive_iov implemented

2013-09-11 Thread Vincenzo Maffione
Thanks for the help! Actually I've found out that the variable "copied" I use in this patch can be removed, we can simply increment the variable "ba" instead (ba += iov_copy). I have the patch v3 to do that ready. Do you think it is worth sending it? Best regards, Vincenzo 2013/9/11 Stefan

Re: [Qemu-devel] [PATCH v2] e1000: NetClientInfo.receive_iov implemented

2013-09-11 Thread Stefan Hajnoczi
On Tue, Sep 10, 2013 at 02:19:47PM +0200, Vincenzo Maffione wrote: > This patch implements the NetClientInfo.receive_iov method for the > e1000 device emulation. In this way a network backend that uses > qemu_sendv_packet() can deliver the fragmented packet without > requiring an additional copy in

[Qemu-devel] [PATCH v2] e1000: NetClientInfo.receive_iov implemented

2013-09-10 Thread Vincenzo Maffione
This patch implements the NetClientInfo.receive_iov method for the e1000 device emulation. In this way a network backend that uses qemu_sendv_packet() can deliver the fragmented packet without requiring an additional copy in the frontend/backend network code (nc_sendv_compat() function). The exist