From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: [PATCH V3 2/8] Add a new zerocopy device flag Date: Mon, 02 May 2011 11:47:08 -0700 Message-ID: <1304362028.20660.15.camel@localhost.localdomain> References: <1303328216.19336.18.camel@localhost.localdomain> <1303328648.19336.24.camel@localhost.localdomain> <20110502104257.GA21625@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: David Miller , Eric Dumazet , Avi Kivity , Arnd Bergmann , netdev@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20110502104257.GA21625@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, 2011-05-02 at 13:42 +0300, Michael S. Tsirkin wrote: > This comment should specify what exactly is the promise the > device makes by setting this flag. Specifically, the > condition is that no skb fragments are used > after the uinfo callback has been called. > > The way it's implemented, it probably means the device > should not use any of skb_clone, expand head etc. Agree. Or maybe force a copy when device uses skb_clone, expand head ...? Thanks Shirley