virtio_net: lower limit on buffer size
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 2 Jun 2017 14:54:33 +0000 (17:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 18:32:34 +0000 (14:32 -0400)
commitf0c3192ceee3c16154e70dfb373f66ed86c6fea9
treee4185608a31c5dcfe3d9e6ee623dba695073fe5d
parent4bd7ef0b033721b659b9357057e76d1ced95c1da
virtio_net: lower limit on buffer size

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")
Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: "J. Bruce Fields" <bfields@fieldses.org>
Tested-by: Mikulas Patocka <mpatocka@redhat.com>
Tested-by: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c