Rusty Russell 3c1b27d504 virtio: make add_buf return capacity remaining
This API change means that virtio_net can tell how much capacity
remains for buffers.  It's necessarily fuzzy, since
VIRTIO_RING_F_INDIRECT_DESC means we can fit any number of descriptors
in one, *if* we can kmalloc.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Dinesh Subhraveti <dineshs@us.ibm.com>
2009-09-23 22:26:31 +09:30
..
2009-05-25 01:53:53 -07:00
2009-09-03 20:02:17 -07:00
2009-09-14 17:03:09 -07:00
2009-09-01 17:40:57 -07:00
2009-05-25 01:53:53 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00
2009-09-02 01:03:53 -07:00
2009-07-23 18:01:10 -07:00
2009-08-04 16:44:23 -04:00
2009-09-14 17:03:09 -07:00
2009-09-14 17:03:05 -07:00
2009-09-11 14:59:37 -04:00
2009-07-12 12:22:34 -07:00
2009-09-16 16:21:00 -04:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00