Re: [PATCH resend v2] net: cadence_gem: clear RX control descriptor

2020-04-20 Thread Peter Maydell
On Sat, 18 Apr 2020 at 09:52, 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 cont

Re: [PATCH resend v2] net: cadence_gem: clear RX control descriptor

2020-04-18 Thread Edgar E. Iglesias
On Sat, Apr 18, 2020 at 11:51:45AM +0300, 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

[PATCH resend v2] net: cadence_gem: clear RX control descriptor

2020-04-18 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