From: "Michael S. Tsirkin" Subject: Re: [PATCH 1/6] virtio: wrap find_vqs Date: Fri, 31 Mar 2017 19:21:12 +0300 Message-ID: <20170331191905-mutt-send-email-mst@kernel.org> References: <1490820507-8005-1-git-send-email-mst@redhat.com> <1490820507-8005-2-git-send-email-mst@redhat.com> <72f533a2-482d-1956-b0fe-254e273e1818@redhat.com> <20170330173146-mutt-send-email-mst@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-kernel@vger.kernel.org, John Fastabend , Arnd Bergmann , Greg Kroah-Hartman , Amit Shah , Gonglei , Herbert Xu , "David S. Miller" , David Airlie , Gerd Hoffmann , Dmitry Tarnyagin , Ohad Ben-Cohen , Bjorn Andersson , "James E.J. Bottomley" , "Martin K. Petersen" , Stefan Hajnoczi , virtualization@lists.linux-foundation.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, netdev@vger.kerne To: Jason Wang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45108 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933199AbdCaQVW (ORCPT ); Fri, 31 Mar 2017 12:21:22 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, Mar 31, 2017 at 12:04:55PM +0800, Jason Wang wrote: > > > On 2017年03月30日 22:32, Michael S. Tsirkin wrote: > > On Thu, Mar 30, 2017 at 02:00:08PM +0800, Jason Wang wrote: > > > > > > On 2017年03月30日 04:48, Michael S. Tsirkin wrote: > > > > We are going to add more parameters to find_vqs, let's wrap the call so > > > > we don't need to tweak all drivers every time. > > > > > > > > Signed-off-by: Michael S. Tsirkin > > > > --- > > > A quick glance and it looks ok, but what the benefit of this series, is it > > > required by other changes? > > > > > > Thanks > > Yes - to avoid touching all devices when doing the rest of > > the patchset. > > Maybe I'm not clear. I mean the benefit of this series not this single > patch. I guess it may be used by you proposal that avoid reset when set XDP? In particular, yes. It generally simplifies things significantly if we can get the true buffer size back. > If yes, do we really want to drop some packets after XDP is set? > > Thanks We would rather not drop packets. We could detect and copy them to make XDP work. -- MST