Re: [PATCH] e1000: fix tx re-entrancy problem

2021-12-16 Thread Jon Maloy
This was the one I received. ///jon On 12/16/21 14:01, Alexander Bulekov wrote: On 211216 1935, Philippe Mathieu-Daudé wrote: On 12/16/21 16:51, Jon Maloy wrote: On 12/16/21 04:36, Philippe Mathieu-Daudé wrote: Hi Jon, On 10/21/21 18:10, Jon Maloy wrote: The fact that the MMIO handler is

Re: [PATCH] e1000: fix tx re-entrancy problem

2021-12-16 Thread Alexander Bulekov
On 211216 1935, Philippe Mathieu-Daudé wrote: > On 12/16/21 16:51, Jon Maloy wrote: > > On 12/16/21 04:36, Philippe Mathieu-Daudé wrote: > >> Hi Jon, > >> > >> On 10/21/21 18:10, Jon Maloy wrote: > >>> The fact that the MMIO handler is not re-entrant causes an infinite > >>> loop under certain cond

Re: [PATCH] e1000: fix tx re-entrancy problem

2021-12-16 Thread Philippe Mathieu-Daudé
On 12/16/21 16:51, Jon Maloy wrote: > On 12/16/21 04:36, Philippe Mathieu-Daudé wrote: >> Hi Jon, >> >> On 10/21/21 18:10, Jon Maloy wrote: >>> The fact that the MMIO handler is not re-entrant causes an infinite >>> loop under certain conditions: >>> >>> Guest write to TDT ->  Loopback -> RX (DMA t

Re: [PATCH] e1000: fix tx re-entrancy problem

2021-12-16 Thread Jon Maloy
On 12/16/21 04:36, Philippe Mathieu-Daudé wrote: Hi Jon, On 10/21/21 18:10, Jon Maloy wrote: The fact that the MMIO handler is not re-entrant causes an infinite loop under certain conditions: Guest write to TDT -> Loopback -> RX (DMA to TDT) -> TX We now eliminate the effect of this probl

Re: [PATCH] e1000: fix tx re-entrancy problem

2021-12-16 Thread Philippe Mathieu-Daudé
Hi Jon, On 10/21/21 18:10, Jon Maloy wrote: > The fact that the MMIO handler is not re-entrant causes an infinite > loop under certain conditions: > > Guest write to TDT -> Loopback -> RX (DMA to TDT) -> TX > > We now eliminate the effect of this problem locally in e1000, by adding > a boolean

Re: [PATCH] e1000: fix tx re-entrancy problem

2021-10-26 Thread Jason Wang
在 2021/10/22 上午12:10, Jon Maloy 写道: The fact that the MMIO handler is not re-entrant causes an infinite loop under certain conditions: Guest write to TDT -> Loopback -> RX (DMA to TDT) -> TX We now eliminate the effect of this problem locally in e1000, by adding a boolean in struct E1000Stat

[PATCH] e1000: fix tx re-entrancy problem

2021-10-21 Thread Jon Maloy
The fact that the MMIO handler is not re-entrant causes an infinite loop under certain conditions: Guest write to TDT -> Loopback -> RX (DMA to TDT) -> TX We now eliminate the effect of this problem locally in e1000, by adding a boolean in struct E1000State indicating when the TX side is busy. T