From: Andy Duan <fugang.duan@nxp.com>
To: Stefan Agner <stefan@agner.ch>
Cc: "fugang.duan@freescale.com" <fugang.duan@freescale.com>,
"festevam@gmail.com" <festevam@gmail.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"netdev-owner@vger.kernel.org" <netdev-owner@vger.kernel.org>
Subject: Re: FEC on i.MX 7 transmit queue timeout
Date: Fri, 21 Apr 2017 02:48:31 +0000 [thread overview]
Message-ID: <ab1fc814-4a81-9eb0-b20b-2cd325158ba8@nxp.com> (raw)
In-Reply-To: <80191e7c9df5871cd450f13b9ea47a10@agner.ch>
On 2017年04月20日 07:15, Stefan Agner wrote:
> I tested again with imx6sx-fec compatible string. I could reproduce it
> on a Colibri with i.MX 7Dual. But not always: It really depends whether
> queue 2 is counting up or not. Just after boot, I check /proc/interrupts
> twice, if queue 2 is counting it will happen!
>
> But if only queue 0 is mostly in use, then it seems to work just fine.
If your case is only running best effort like tcp/udp, you can re-set
the "fsl,num-tx-queues" and "fsl,num-rx-queues" to 1 in board dts file.
Other two queues are for AVB audio/video queues, they have high priority
than queue 0. If running iperf tcp test on the three queues, then
the tcp segment may be out-of-order that cause net watchdog timeout.
>
> I also tried i.MX 7Dual SabreSD here, and the same thing. I had to
> reboot 3 times, then queue 2 was counting:
> 57: 8 GIC-0 150 Level 30be0000.ethernet
> 58: 20137 GIC-0 151 Level 30be0000.ethernet
> 59: 9269 GIC-0 152 Level 30be0000.ethernet
>
> It took me about 40 minutes on Sabre until it happened, and I had to
> force it using iperf, but then I got the ring dumps:
My board had ran more than 47 hours with nfs rootfs in 4.11.0-rc6, but
not running iperf.
I am testing with iperf.
Andy
next prev parent reply other threads:[~2017-04-21 2:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-18 19:46 FEC on i.MX 7 transmit queue timeout Stefan Agner
2017-04-19 2:24 ` Andy Duan
2017-04-19 5:01 ` Stefan Agner
2017-04-19 5:28 ` Andy Duan
2017-04-19 5:56 ` Stefan Agner
2017-04-19 8:45 ` Andy Duan
2017-04-19 23:15 ` Stefan Agner
2017-04-21 2:48 ` Andy Duan [this message]
2017-05-04 1:21 ` Stefan Agner
2017-05-04 3:08 ` Andy Duan
2017-05-04 21:36 ` Stefan Agner
2017-05-05 2:03 ` Andy Duan
2017-05-05 2:09 ` Stefan Agner
2017-05-05 2:44 ` Andy Duan
2017-05-05 12:23 ` Andrew Lunn
2017-05-08 2:13 ` Andy Duan
2017-05-08 18:22 ` Stefan Agner
2017-05-09 10:35 ` Andy Duan
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=ab1fc814-4a81-9eb0-b20b-2cd325158ba8@nxp.com \
--to=fugang.duan@nxp.com \
--cc=festevam@gmail.com \
--cc=fugang.duan@freescale.com \
--cc=netdev-owner@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stefan@agner.ch \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.