Re: [PATCH 1/6] virtio: wrap find_vqs
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2017-03-31 16:21:12
On Fri, Mar 31, 2017 at 12:04:55PM +0800, Jason Wang wrote:
On 2017年03月30日 22:32, Michael S. Tsirkin wrote:quoted
On Thu, Mar 30, 2017 at 02:00:08PM +0800, Jason Wang wrote:quoted
On 2017年03月30日 04:48, Michael S. Tsirkin wrote:quoted
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<mst@redhat.com> ---A quick glance and it looks ok, but what the benefit of this series, is it required by other changes? ThanksYes - 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 _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization