On Thursday 16 August 2012, Mike Belopuhov wrote:
> could you please tell me if you're using tx interrupt or not?
> if yes, why do you need to have a watchdog code implement
> a txeof path and not the actual reset?

In normal operation, tx interrupts are not used and the sent 
descriptors are cleaned up either by rx interrupts or by the watchdog. 
The sole exception is when the tx queue is full. Then the tx interrupt 
is switched on because if no packages are received the wait time until 
the next watchdog run would be too long.

> also you forget to undo the preps in vioif_populate_rx_mbufs
> by calling a virtio_enqueue_abort if i understand this spaghetti
> code correctly.

Correct. Thanks.

Reply via email to