mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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)
This commit is contained in:
parent
48925e372f
commit
0aea51c37f
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue