Skip to contentSkip to conversation

libqos virtio: Increase ISR timeout

PATCH Superseded Marc Marí 2 participants 2 messages Sep 9, 2014 – Sep 11, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Marc Marí

author
#0 lore raw

PATCH 1/1 libqos virtio: Increase ISR timeout

---
 tests/libqos/virtio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/libqos/virtio.c +2 -2
index 128dbd0..9b6de2c 100644
@@ -82,7 +82,7 @@ bool qvirtio_wait_queue_isr(const QVirtioBus *bus, QVirtioDevice *d,
                                             QVirtQueue *vq, uint64_t timeout)
 {
     do {
-        clock_step(10);
+        clock_step(100);
         if (bus->get_queue_isr_status(d, vq)) {
             break; /* It has ended */
         }
@@ -95,7 +95,7 @@ bool qvirtio_wait_config_isr(const QVirtioBus *bus, QVirtioDevice *d,
                                                             uint64_t timeout)
 {
     do {
-        clock_step(10);
+        clock_step(100);
         if (bus->get_config_isr_status(d)) {
             break; /* It has ended */
         }
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · Marc Marí
---
 tests/libqos/virtio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Missing a commit description. Please justify this patch. Why do you need to bump the clock step amount?

What was failing and why?

This information is important to have in the git commit history. Otherwise we'll look back and not know why this patch was necessary.

Stefan