From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] net: ks8851: Reset internal RXFC count on bad packet
Date: Tue, 19 Jan 2021 15:01:27 -0500 [thread overview]
Message-ID: <20210119200127.GS9782@bill-the-cat> (raw)
In-Reply-To: <20210106141601.64507-1-marex@denx.de>
On Wed, Jan 06, 2021 at 03:16:01PM +0100, Marek Vasut wrote:
> A sporadic condition occurs when the "bad packet" error is triggered
> repeatedly, which results in "bad packet" messages scrolling on the
> console during transfer. To avoid triggering this, reset the internal
> RXFC count on the first occurance of the "bad packet", which forces
> the code to re-read the RX packet count from the MAC, and prevents
> any additional "bad packet" messages if there are no more packets in
> the MAC. Also print better debug information if this condition occurs.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Eugen Hristev <eugen.hristev@microchip.com>
> Cc: Joe Hershberger <joe.hershberger@ni.com>
> Cc: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/8509494a/attachment.sig>
prev parent reply other threads:[~2021-01-19 20:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 14:16 [PATCH] net: ks8851: Reset internal RXFC count on bad packet Marek Vasut
2021-01-19 20:01 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210119200127.GS9782@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox