netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Walker <danielwa@cisco.com>
To: Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	netdev@vger.kernel.org
Subject: stmmac driver RX stuck on "Unavailable Rx buf"
Date: Tue, 28 Feb 2023 17:20:14 -0800	[thread overview]
Message-ID: <20230301012014.GX15751@zorba> (raw)


Hi,

We use the stmmac driver for some of our products. During testing we found that
with 500mbps into the port connected to the driver the RX side hangs until we
ifconfig up/down the interface. This happens on multiple kernel version v5.4 and v5.15

With debugging enabled this message was printed a number of times,

[ 4112.847415] dwmac_dma_interrupt: [CSR5: 0x00690415]
[ 4112.847422] - TX (Suspended): Tx Buff Underflow or an unavailable Transmit descriptor
[ 4112.847424] - RX (Suspended): Unavailable Rx buf
[ 4112.847415] dwmac_dma_interrupt: [CSR5: 0x00690415]
[ 4112.847422] - TX (Suspended): Tx Buff Underflow or an unavailable Transmit descriptor
[ 4112.847424] - RX (Suspended): Unavailable Rx buf

We see the status from the RX side claims "Unavailable Rx buf". The documentation I have
doesn't describe what this status means.

Do any of you have experience with this RX status? I thought this might be a missing DTS
option since stmmac has many, but I figured I would ask the maintainers first before trial
and error.

Daniel

                 reply	other threads:[~2023-03-01  1:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230301012014.GX15751@zorba \
    --to=danielwa@cisco.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=joabreu@synopsys.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    /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;
as well as URLs for NNTP newsgroup(s).