diff options
author | 2009-08-26 14:58:28 +0530 | |
---|---|---|
committer | 2009-09-24 09:59:21 +0930 | |
commit | 0aea51c37fc5868cd723f670af9056c2ef694fee (patch) | |
tree | 9fee50abd200decd4b02350e4f1aed0cccc3a976 /kernel/hrtimer.c | |
parent | virtio_net: avoid (most) NETDEV_TX_BUSY by stopping queue early. (diff) | |
download | linux-dev-0aea51c37fc5868cd723f670af9056c2ef694fee.tar.xz linux-dev-0aea51c37fc5868cd723f670af9056c2ef694fee.zip |
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 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions