Re: [Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-07-16 Thread Ramon Fried
On Tue, Jul 16, 2019 at 11:42 AM Jason Wang wrote: > > > On 2019/6/15 下午1:17, Ramon Fried wrote: > > The RX ring descriptors control field is used for setting > > SOF and EOF (start of frame and end of frame). > > The SOF and EOF weren't cleared from the previous descriptors, > > causing inconsist

Re: [Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-07-16 Thread Ramon Fried
On Tue, Jul 16, 2019 at 10:19 AM Philippe Mathieu-Daudé wrote: > > On 7/16/19 9:11 AM, Ramon Fried wrote: > > ping > > > > On Sat, Jun 15, 2019 at 8:17 AM Ramon Fried wrote: > >> > >> The RX ring descriptors control field is used for setting > >> SOF and EOF (start of frame and end of frame). > >

Re: [Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-07-16 Thread Jason Wang
On 2019/6/15 下午1:17, Ramon Fried wrote: The RX ring descriptors control field is used for setting SOF and EOF (start of frame and end of frame). The SOF and EOF weren't cleared from the previous descriptors, causing inconsistencies in ring buffer. Fix that by clearing the control field of every

Re: [Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-07-16 Thread Philippe Mathieu-Daudé
On 7/16/19 9:11 AM, Ramon Fried wrote: > ping > > On Sat, Jun 15, 2019 at 8:17 AM Ramon Fried wrote: >> >> The RX ring descriptors control field is used for setting >> SOF and EOF (start of frame and end of frame). >> The SOF and EOF weren't cleared from the previous descriptors, >> causing incon

Re: [Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-07-16 Thread Ramon Fried
ping On Sat, Jun 15, 2019 at 8:17 AM Ramon Fried wrote: > > The RX ring descriptors control field is used for setting > SOF and EOF (start of frame and end of frame). > The SOF and EOF weren't cleared from the previous descriptors, > causing inconsistencies in ring buffer. > Fix that by clearing

[Qemu-devel] [PATCH] net: cadence_gem: clear RX control descriptor

2019-06-14 Thread Ramon Fried
The RX ring descriptors control field is used for setting SOF and EOF (start of frame and end of frame). The SOF and EOF weren't cleared from the previous descriptors, causing inconsistencies in ring buffer. Fix that by clearing the control field of every descriptors we're processing. Signed-off-b