search for: virtio_debug

Displaying 2 results from an estimated 2 matches for "virtio_debug".

2007 Dec 12
2
[virtio-net][PATCH] Don't arm tx hrtimer with a constant 500us each transmit
...g one. This will shorten the latency for tx. Signed-off-by: Dor Laor <dor.laor@qumranet.com> diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 7b051d5..8bb17d1 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -406,10 +405,10 @@ again: virtio_debug(vdebug, "%s: before calling kick %d\n", __FUNCTION__, __LINE__); vi->svq->vq_ops->kick(vi->svq); vi->out_num = 0; - } else { - vi->stats.hrtimer_starts++; - hrtimer_start(&vi->tx_timer, ktime_set(0,500000), - HR...
2007 Dec 12
2
[virtio-net][PATCH] Don't arm tx hrtimer with a constant 500us each transmit
...g one. This will shorten the latency for tx. Signed-off-by: Dor Laor <dor.laor@qumranet.com> diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 7b051d5..8bb17d1 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -406,10 +405,10 @@ again: virtio_debug(vdebug, "%s: before calling kick %d\n", __FUNCTION__, __LINE__); vi->svq->vq_ops->kick(vi->svq); vi->out_num = 0; - } else { - vi->stats.hrtimer_starts++; - hrtimer_start(&vi->tx_timer, ktime_set(0,500000), - HR...