On Tue, Aug 21, 2012 at 1:35 PM, Stefan Fritsch <[email protected]> wrote:
>
> What do yo suggest then? Use a separate timeout? Accept the lower
> performance?
>

what is the performance difference in terms of pps on small packets
and Mbps for large are we talking about?

> Resetting the device in the watchdog has another unexpected problem: In
> order to restore the MAC filters and promisc state, vioif_iff needs to do
> asynchronous requests on the control queue. But in the watchdog, I cannot
> sleep. FWIW, if_vic does not have a watchdog at all. Not having a watchdog
> looks rather attractive for the virtio driver, too.
>

you only need to use watchdog when you actually need to use a watchdog.
if you don't need to, you don't have to.  but you shouldn't abuse it
for anything
else other than fixing a hung controller/queue.  that's entirely my point.

> Cheers,
> Stefan

Reply via email to