From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mw8-0004av-Q2 for qemu-devel@nongnu.org; Tue, 15 Dec 2015 05:34:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8mw5-00062z-JI for qemu-devel@nongnu.org; Tue, 15 Dec 2015 05:34:28 -0500 Received: from mx3-phx2.redhat.com ([209.132.183.24]:58374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8mw5-00062r-Bp for qemu-devel@nongnu.org; Tue, 15 Dec 2015 05:34:25 -0500 Date: Tue, 15 Dec 2015 05:34:12 -0500 (EST) From: Paolo Bonzini Message-ID: <1780787541.40653769.1450175652231.JavaMail.zimbra@redhat.com> In-Reply-To: References: <1450104679-24921-1-git-send-email-v.maffione@gmail.com> <566EE902.8040402@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC] virtio: proposal to optimize accesses to VQs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincenzo Maffione Cc: "Michael S. Tsirkin" , Jason Wang , Markus Armbruster , qemu-devel , Giuseppe Lettieri , Luigi Rizzo > > if (!indirect) > > total_bufs = num_bufs; > > Here (http://article.gmane.org/gmane.comp.emulators.qemu.block/6620) you > meant > > + in_total += desc.len; > > and > > + out_total += desc.len; > Yes, I did... I changed the patch and will push to the dataplane branch soon. Paolo