commit | 0aea51c37fc5868cd723f670af9056c2ef694fee | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Wed Aug 26 14:58:28 2009 +0530 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Sep 24 09:59:21 2009 +0930 |
tree | 9fee50abd200decd4b02350e4f1aed0cccc3a976 | |
parent | 48925e372f04f5e35fec6269127c62b2c71ab794 [diff] |
virtio_net: Check for room in the vq before adding buffer Saves us one cycle of alloc-add-free if the queue was full. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (modified)