Laurent Vivier
7550a82259
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>
2022-10-28 13:28:52 +08:00
..
2022-10-25 11:37:17 -04:00
2022-09-22 16:38:28 +01:00
2022-07-18 13:20:14 +01:00
2022-04-06 14:31:55 +02:00
2022-10-26 10:04:05 -04:00
2022-06-11 11:44:50 +02:00
2022-04-06 14:31:55 +02:00
2022-10-24 11:20:16 +02:00
2022-10-22 23:15:40 +02:00
2022-10-22 22:50:27 +02:00
2022-08-17 13:08:11 -04:00
2022-10-22 23:15:40 +02:00
2022-10-24 13:41:10 +02:00
2022-10-17 16:15:09 -03:00
2022-07-18 19:28:46 +01:00
2022-05-30 19:49:42 +02:00
2022-10-24 11:20:15 +02:00
2022-10-18 13:58:04 +02:00
2022-10-20 12:11:53 +01:00
2022-07-18 19:28:46 +01:00
2022-10-17 10:28:35 +08:00
2021-09-30 13:42:10 +01:00
2022-08-01 06:40:50 -05:00
2022-06-29 00:24:59 +02:00
2022-10-14 14:29:50 +10:00
2022-10-24 10:47:14 +02:00
2022-10-09 16:38:45 -04:00
2022-09-21 19:59:56 +02:00
2022-08-08 23:23:11 +02:00
2022-10-22 23:15:40 +02:00
2022-10-28 13:28:52 +08:00
2022-10-17 16:15:10 -03:00
2021-09-30 13:42:10 +01:00
2022-08-01 12:01:21 +02:00
2022-10-22 23:15:40 +02:00
2022-09-04 07:02:57 +01:00
2022-06-30 04:49:40 +05:30
2022-06-16 12:54:57 -04:00
2022-09-20 12:31:53 -03:00
2022-10-17 16:15:10 -03:00
2022-04-26 12:25:14 +02:00
2022-10-04 00:10:11 +02:00
2022-10-17 16:15:10 -03:00
2022-09-04 07:02:56 +01:00
2022-07-22 19:01:44 +02:00
2022-10-26 12:54:59 +04:00
2022-10-18 13:58:04 +02:00
2022-07-12 12:14:56 +02:00
2022-07-14 16:24:38 +02:00
2022-03-21 15:44:44 +01:00
2022-10-09 16:38:45 -04:00
2022-05-12 12:29:44 +02:00
2022-06-11 11:44:50 +02:00
2022-10-24 11:20:15 +02:00
2022-10-24 13:41:10 +02:00
2022-09-09 17:55:59 -04:00
2022-10-22 23:15:40 +02:00
2022-09-27 14:26:42 -06:00
2022-10-24 13:41:10 +02:00
2022-09-29 11:40:28 +02:00
2022-09-27 14:23:23 +01:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00