diff options
author | 2017-03-09 02:21:21 +0200 | |
---|---|---|
committer | 2017-05-09 16:43:21 +0300 | |
commit | d85b758f72b05a774045545f24d70980e3e9aac4 (patch) | |
tree | a759ede2153e54e53bb6965df242858a805c7dc7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio_net: reduce alignment for buffers (diff) | |
download | linux-rng-d85b758f72b05a774045545f24d70980e3e9aac4.tar.xz linux-rng-d85b758f72b05a774045545f24d70980e3e9aac4.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions