Re: [PATCH v2] hw/net: npcm7xx_emc fix missing queue_flush

2021-12-10 Thread Peter Maydell
On Fri, 3 Dec 2021 at 22:10, Patrick Venture wrote: > > The rx_active boolean change to true should always trigger a try_read > call that flushes the queue. > > Signed-off-by: Patrick Venture > --- > v2: introduced helper method to encapsulate rx activation and queue flush. > --- > hw/net/npcm7x

Re: [PATCH v2] hw/net: npcm7xx_emc fix missing queue_flush

2021-12-04 Thread Philippe Mathieu-Daudé
On 12/3/21 23:10, Patrick Venture wrote: > The rx_active boolean change to true should always trigger a try_read > call that flushes the queue. > > Signed-off-by: Patrick Venture > --- > v2: introduced helper method to encapsulate rx activation and queue flush. Thanks, Reviewed-by: Philippe Mat

[PATCH v2] hw/net: npcm7xx_emc fix missing queue_flush

2021-12-03 Thread Patrick Venture
The rx_active boolean change to true should always trigger a try_read call that flushes the queue. Signed-off-by: Patrick Venture --- v2: introduced helper method to encapsulate rx activation and queue flush. --- hw/net/npcm7xx_emc.c | 18 -- 1 file changed, 8 insertions(+), 10 d