diff options
author | Amit Shah <amit.shah@redhat.com> | 2009-08-26 14:58:28 +0530 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 09:59:21 +0930 |
commit | 0aea51c37fc5868cd723f670af9056c2ef694fee (patch) | |
tree | 9fee50abd200decd4b02350e4f1aed0cccc3a976 /scripts/gfp-translate | |
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)
Diffstat (limited to 'scripts/gfp-translate')
0 files changed, 0 insertions, 0 deletions