Files
linux/drivers
Michael S. Tsirkin 7ae4b866f8 virtio: return correct capacity to users
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>
2010-11-24 15:21:11 +10:30
..
2010-11-16 13:33:23 -08:00
2010-10-29 00:29:51 +02:00
2010-11-10 14:40:53 +01:00
2010-11-16 13:33:23 -08:00
2010-10-30 08:31:35 -07:00
2010-11-12 07:55:30 -08:00