aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-10-20 11:58:46 +0200
committerJason Wang <jasowang@redhat.com>2022-10-28 13:28:52 +0800
commit7550a82259fcf9ce5f1f6443ced779d0eb8afdca (patch)
tree42abd6f57db3904c9b2e77d84a69eff6a9a7794b /net
parentdf8d07081718c29d04d106583d9c300128686cda (diff)
virtio-net: fix TX timer with tx_burst
When virtio_net_flush_tx() reaches the tx_burst value all the queue is not flushed and nothing restart the timer. Fix that by doing for TX timer as we do for bottom half TX: rearming the timer if we find any packet to send during the virtio_net_flush_tx() call. Fixes: e3f30488e5f8 ("virtio-net: Limit number of packets sent per TX flush") Cc: alex.williamson@redhat.com Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions