forked from Minki/linux
7ae4b866f8
We can't rely on indirect buffers for capacity calculations because they need a memory allocation which might fail. In particular, virtio_net can get into this situation under stress, and it drops packets and performs badly. So return the number of buffers we can guarantee users. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reported-By: Krishna Kumar2 <krkumar2@in.ibm.com> |
||
---|---|---|
.. | ||
config.c | ||
Kconfig | ||
Makefile | ||
virtio_balloon.c | ||
virtio_pci.c | ||
virtio_ring.c | ||
virtio.c |