commit | 6369fec5be0aad4965bb13cc8f26a621ff39cc65 | [log] [tgz] |
---|---|---|
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | Tue Jul 03 16:31:34 2018 +0900 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 04 21:30:47 2018 +0900 |
tree | 810c69bece265e17929a7d8848102238b41c36df | |
parent | be294a51adfc1e1d9884e34480c34e4388f27904 [diff] |
vhost_net: Avoid rx vring kicks during busyloop We may run out of avail rx ring descriptor under heavy load but busypoll did not detect it so busypoll may have exited prematurely. Avoid this by checking rx ring full during busypoll. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>