summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2017-03-09 02:21:21 +0200
committerMichael S. Tsirkin <mst@redhat.com>2017-05-09 16:43:21 +0300
commitd85b758f72b05a774045545f24d70980e3e9aac4 (patch)
treea759ede2153e54e53bb6965df242858a805c7dc7 /drivers/amba
parente377fcc8486d40867c6c217077ad0fa40977e060 (diff)
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>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions