From: Rusty Russell Date: Thu, 24 Sep 2009 04:26:31 +0000 (-0600) Subject: virtio: make add_buf return capacity remaining X-Git-Tag: v2.6.32-rc1~175^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c1b27d5043086a485f8526353ae9fe37bfa1065;p=pandora-kernel.git 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 Cc: Dinesh Subhraveti --- Reading git-diff-tree failed