Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758514Ab2EOSAN (ORCPT ); Tue, 15 May 2012 14:00:13 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:34164 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758223Ab2EOSAJ (ORCPT ); Tue, 15 May 2012 14:00:09 -0400 Subject: Re: [PATCH RFC] tun: experimental zero copy tx support From: Shirley Ma To: "Michael S. Tsirkin" Cc: Eric Dumazet , Stephen Hemminger , "David S. Miller" , Joe Perches , Jason Wang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ian.Campbell@citrix.com, kvm@vger.kernel.org In-Reply-To: <20120514193134.GA18366@redhat.com> References: <20120513155206.GA26847@redhat.com> <20120514095446.3ce307d2@nehalam.linuxnetplumber.net> <20120514170412.GA17086@redhat.com> <1337022146.8512.606.camel@edumazet-glaptop> <20120514191456.GC17086@redhat.com> <1337023307.8512.617.camel@edumazet-glaptop> <20120514193134.GA18366@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 15 May 2012 11:00:00 -0700 Message-ID: <1337104800.8220.25.camel@oc3660625478.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-24.el6) Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12051518-7182-0000-0000-00000183E2FC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 27 On Mon, 2012-05-14 at 22:31 +0300, Michael S. Tsirkin wrote: > On Mon, May 14, 2012 at 09:21:47PM +0200, Eric Dumazet wrote: > > On Mon, 2012-05-14 at 22:14 +0300, Michael S. Tsirkin wrote: > > > > > They seem to be in net-next, or did I miss something? > > > > Yes, you re-introduce in this patch some bugs already fixed in > macvtap > > Could explain why I see some problems in testing :) > Maybe common code should go into net/core? > I couldn't decide whether the increase in kernel > size is worth it. Which problem you hit during testing? The logic of zerocopy_sg_from_iovec should work well. Jason's fix made the code more clear. Thanks Shirley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/