commit | 7b0411ef4aa69c9256d6a2c289d0a2b320414633 | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Mon Apr 24 13:49:29 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 24 23:55:19 2017 -0400 |
tree | 53dfadb8aa5536fb7029b405a1b854551a6d9502 | |
parent | ea7735d97ba9064c448664429e249991ccd8aa77 [diff] |
virtio-net: clean tx descriptors from rx napi Amortize the cost of virtual interrupts by doing both rx and tx work on reception of a receive interrupt if tx napi is enabled. With VIRTIO_F_EVENT_IDX, this suppresses most explicit tx completion interrupts for bidirectional workloads. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>