[U-Boot] [PATCH v1] net: mvneta - Fixed recv() when multiple packets have arrived.

Joe Hershberger joe.hershberger at ni.com
Tue Dec 5 20:09:42 UTC 2017


On Tue, Nov 28, 2017 at 1:12 PM, Jason Brown <jason.brown at apcon.com> wrote:
> This patch fixes a problem in the mvneta driver where if more than
> one packet arrives between calls to mvneta_recv(), the additional
> descriptors will be marked as free even though only one descriptor
> has been read and processed from the receive queue.  This causes
> the additional packet(s) to be delayed until the next packet arrives.
> From this point on all packets will be delayed because the receive
> queue will contain unprocessed packets but the hardware shows no
> busy descriptors.
>
> Signed-off-by: Jason Brown <jason.brown at apcon.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list