Re: [PATCH] virtio_net: lower limit on buffer size

From: Sergei Shtylyov
Date: Fri Jun 02 2017 - 05:35:04 EST


Hello!

On 6/2/2017 2:56 AM, Michael S. Tsirkin wrote:

commit d85b758f72b0 "virtio_net: fix support for small rings"

Commit d85b758f72b0 ("virtio_net: fix support for small rings")

was supposed to increase the buffer size for small rings
but had an unintentional side effect of decreasing
it for large rings. This seems to break some setups -
it's not yet clear why, but increasing buffer size
back to what it was before helps.

Fixes: d85b758f72b0 "virtio_net: fix support for small rings"

Fixes: d85b758f72b0 ("virtio_net: fix support for small rings")

Reported-by: Mikulas Patocka <mpatocka@xxxxxxxxxx>
Reported-by: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
[...]

MBR, Sergei