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

2019-07-16 Thread Jason Wang
On 2019/7/16 下午6:59, 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

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

2019-07-16 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