Home
last modified time | relevance | path

Searched hist:d85b758f72b05a774045545f24d70980e3e9aac4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dvirtio_net.cdiff d85b758f72b05a774045545f24d70980e3e9aac4 Wed Mar 08 18:21:21 CST 2017 Michael S. Tsirkin <mst@redhat.com> virtio_net: fix support for small rings

When ring size is small (<32 entries) making buffers smaller means a
full ring might not be able to hold enough buffers to fit a single large
packet.

Make sure a ring full of buffers is large enough to allow at least one
packet of max size.

Fixes: 2613af0ed18a ("virtio_net: migrate mergeable rx buffers to page frag allocators")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>