Re: [PATCH 4/5] qtest/e1000e|igb: Clear interrupt-cause bits after irq

2024-12-20 Thread Nicholas Piggin
On Thu Dec 19, 2024 at 7:00 PM AEST, Akihiko Odaki wrote: > On 2024/12/18 16:42, Nicholas Piggin wrote: > > The e1000e and igb tests do not clear the ICR/EICR cause bits (or > > set auto-clear) on seeing queue interrupts, which inhibits the > > triggering of a new interrupt. > > > > Fix this by cl

Re: [PATCH 4/5] qtest/e1000e|igb: Clear interrupt-cause bits after irq

2024-12-19 Thread Akihiko Odaki
On 2024/12/18 16:42, Nicholas Piggin wrote: The e1000e and igb tests do not clear the ICR/EICR cause bits (or set auto-clear) on seeing queue interrupts, which inhibits the triggering of a new interrupt. Fix this by clearing the cause bits, and verify that the expected cause bit was set. Cc: Mi

[PATCH 4/5] qtest/e1000e|igb: Clear interrupt-cause bits after irq

2024-12-17 Thread Nicholas Piggin
The e1000e and igb tests do not clear the ICR/EICR cause bits (or set auto-clear) on seeing queue interrupts, which inhibits the triggering of a new interrupt. Fix this by clearing the cause bits, and verify that the expected cause bit was set. Cc: Michael S. Tsirkin Cc: Marcel Apfelbaum Cc: Dm