Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-08 Thread Michael S. Tsirkin
On Wed, Feb 08, 2017 at 08:39:13AM -0800, John Fastabend wrote: > [...] > > > However, I came up with a new idea for the future and I'd like to show > > where I'm going. The idea is that we don't use s/g buffers on RX, so we > > have a pointer per descriptor untapped. So we can allow users to st

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-08 Thread John Fastabend
[...] > However, I came up with a new idea for the future and I'd like to show > where I'm going. The idea is that we don't use s/g buffers on RX, so we > have a pointer per descriptor untapped. So we can allow users to stick > their own pointer in there, if they promise not to use s/g on this v

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-07 Thread David Miller
From: "Michael S. Tsirkin" Date: Tue, 7 Feb 2017 06:15:13 +0200 > On Thu, Feb 02, 2017 at 07:14:05PM -0800, John Fastabend wrote: >> This series adds adjust head support for virtio. The following is my >> test setup. I use qemu + virtio as follows, >> >> ./x86_64-softmmu/qemu-system-x86_64 \ >>

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-06 Thread Michael S. Tsirkin
On Thu, Feb 02, 2017 at 07:14:05PM -0800, John Fastabend wrote: > This series adds adjust head support for virtio. The following is my > test setup. I use qemu + virtio as follows, > > ./x86_64-softmmu/qemu-system-x86_64 \ > -hda /var/lib/libvirt/images/Fedora-test0.img \ > -m 4096 -enable-kv

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-06 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 6 Feb 2017 06:39:54 +0200 > Well the point is to avoid resets completely, at the cost of extra 256 bytes > for packets > 128 bytes on ppc (64k pages) only. > > Found a volunteer so I hope to have this idea tested on ppc Tuesday. > > And really all we need t

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-05 Thread Jason Wang
On 2017年02月06日 12:39, Michael S. Tsirkin wrote: On Sun, Feb 05, 2017 at 05:36:34PM -0500, David Miller wrote: From: John Fastabend Date: Thu, 02 Feb 2017 19:14:05 -0800 This series adds adjust head support for virtio. The following is my test setup. I use qemu + virtio as follows, ./x86_64

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-05 Thread Michael S. Tsirkin
On Sun, Feb 05, 2017 at 05:36:34PM -0500, David Miller wrote: > From: John Fastabend > Date: Thu, 02 Feb 2017 19:14:05 -0800 > > > This series adds adjust head support for virtio. The following is my > > test setup. I use qemu + virtio as follows, > > > > ./x86_64-softmmu/qemu-system-x86_64 \ >

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-05 Thread David Miller
From: John Fastabend Date: Thu, 02 Feb 2017 19:14:05 -0800 > This series adds adjust head support for virtio. The following is my > test setup. I use qemu + virtio as follows, > > ./x86_64-softmmu/qemu-system-x86_64 \ > -hda /var/lib/libvirt/images/Fedora-test0.img \ > -m 4096 -enable-kvm -

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-02 Thread Jakub Kicinski
On Thu, 02 Feb 2017 19:14:05 -0800, John Fastabend wrote: > This series adds adjust head support for virtio. ... XDP bits look good to me too!

Re: [net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-02 Thread Alexei Starovoitov
On 2/2/17 7:14 PM, John Fastabend wrote: This series adds adjust head support for virtio. The following is my test setup. I use qemu + virtio as follows, ./x86_64-softmmu/qemu-system-x86_64 \ -hda /var/lib/libvirt/images/Fedora-test0.img \ -m 4096 -enable-kvm -smp 2 -netdev tap,id=hn0,que

[net-next PATCH v2 0/5] XDP adjust head support for virtio

2017-02-02 Thread John Fastabend
This series adds adjust head support for virtio. The following is my test setup. I use qemu + virtio as follows, ./x86_64-softmmu/qemu-system-x86_64 \ -hda /var/lib/libvirt/images/Fedora-test0.img \ -m 4096 -enable-kvm -smp 2 -netdev tap,id=hn0,queues=4,vhost=on \ -device virtio-net-pci,ne