Home
last modified time | relevance | path

Searched hist:"59 ab136a" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/net/
H A Dcadence_gem.c59ab136a Sat Apr 18 08:51:45 GMT 2020 Ramon Fried <rfried.dev@gmail.com> net: cadence_gem: clear RX control descriptor

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-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 20200418085145.489726-1-rfried.dev@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>