Re: [PATCH net-next 1/4] virtio-net: mergeable buffer size should include virtio-net header

2013-11-13 Thread Michael S. Tsirkin
On Tue, Nov 12, 2013 at 02:21:22PM -0800, Michael Dalton wrote: Commit 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) changed the mergeable receive buffer size from PAGE_SIZE to MTU-size. However, the merge buffer size does not take into account the size of the

Re: [PATCH net-next 1/4] virtio-net: mergeable buffer size should include virtio-net header

2013-11-13 Thread Michael S. Tsirkin
On Tue, Nov 12, 2013 at 02:21:22PM -0800, Michael Dalton wrote: Commit 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) changed the mergeable receive buffer size from PAGE_SIZE to MTU-size. However, the merge buffer size does not take into account the size of the

[PATCH net-next 1/4] virtio-net: mergeable buffer size should include virtio-net header

2013-11-12 Thread Michael Dalton
Commit 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) changed the mergeable receive buffer size from PAGE_SIZE to MTU-size. However, the merge buffer size does not take into account the size of the virtio-net header. Consequently, packets that are MTU-size will

Re: [PATCH net-next 1/4] virtio-net: mergeable buffer size should include virtio-net header

2013-11-12 Thread Eric Dumazet
On Tue, 2013-11-12 at 14:21 -0800, Michael Dalton wrote: Commit 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) changed the mergeable receive buffer size from PAGE_SIZE to MTU-size. However, the merge buffer size does not take into account the size of the

Re: [PATCH net-next 1/4] virtio-net: mergeable buffer size should include virtio-net header

2013-11-12 Thread Jason Wang
On 11/13/2013 06:21 AM, Michael Dalton wrote: Commit 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) changed the mergeable receive buffer size from PAGE_SIZE to MTU-size. However, the merge buffer size does not take into account the size of the virtio-net