Re: [PATCH 4/6] virtio_net: allow specifying context for rx

2017-03-30 Thread Cornelia Huck
On Thu, 30 Mar 2017 17:31:37 +0300 "Michael S. Tsirkin" wrote: > On Thu, Mar 30, 2017 at 09:26:51AM +0200, Cornelia Huck wrote: > > On Wed, 29 Mar 2017 23:48:54 +0300 > > "Michael S. Tsirkin" wrote: > > > > > With mergeable buffers we never use s/g for rx, > >

Re: [PATCH 4/6] virtio_net: allow specifying context for rx

2017-03-30 Thread Michael S. Tsirkin
On Thu, Mar 30, 2017 at 09:26:51AM +0200, Cornelia Huck wrote: > On Wed, 29 Mar 2017 23:48:54 +0300 > "Michael S. Tsirkin" wrote: > > > With mergeable buffers we never use s/g for rx, > > so allow specifying context in that case. > > > > Signed-off-by: Michael S. Tsirkin

Re: [PATCH 4/6] virtio_net: allow specifying context for rx

2017-03-30 Thread Cornelia Huck
On Wed, 29 Mar 2017 23:48:54 +0300 "Michael S. Tsirkin" wrote: > With mergeable buffers we never use s/g for rx, > so allow specifying context in that case. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/net/virtio_net.c | 15 ++- > 1 file

[PATCH 4/6] virtio_net: allow specifying context for rx

2017-03-29 Thread Michael S. Tsirkin
With mergeable buffers we never use s/g for rx, so allow specifying context in that case. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/net/virtio_net.c