From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: "Keitel, Tino (ALC NetworX GmbH)" <Tino.Keitel@alcnetworx.de>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
Tino Keitel <tino.keitel@tikei.de>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: BQL support in gianfar causes network hickup
Date: Thu, 7 Feb 2013 16:05:02 -0500 [thread overview]
Message-ID: <511416FE.9000906@windriver.com> (raw)
In-Reply-To: <9AA65D849A88EB44B5D9B6A8BA098E23042DCF04C8BB@Exchange1.lawo.de>
On 13-02-05 08:00 AM, Keitel, Tino (ALC NetworX GmbH) wrote:
> On Di, 2012-11-27 at 05:32 -0800, Eric Dumazet wrote:
>> On Tue, 2012-11-27 at 13:42 +0100, Keitel, Tino (ALC NetworX GmbH)
>> wrote:
>>> On Di, 2012-11-27 at 04:36 -0800, Eric Dumazet wrote:
>>>>
>>>> Can you reproduce the problem using a single cpu ?
>>>
>>> Yes, it is a single-CPU system.
>>
>> Can you reproduce the problem without PTP running, or disabled in the
>> driver ?
>>
>> (comment the "priv->hwts_tx_en = 1;" line)
>
> I can't reproduce it with that line commented. However, so far I was
> only able to reproduce it when starting the ptp2 client, so maybe this
> is connected.
I found an mpc8315erdb, and built the default yocto build (v3.4.20,
which should have the issue based on your earlier reports.)
>
>> By the way are any errata flagged in gfar_detect_errata() ?
>
> This is from dmesg:
>
> fsl-gianfar e0024000.ethernet: enabled errata workarounds, flags: 0x7
>
> 0x7 would be GFAR_ERRATA_74, GFAR_ERRATA_76 and GFAR_ERRATA_A002
> according to drivers/net/ethernet/freescale/gianfar.h.
The MPC8315ECE.pdf lists the 8315 as having 76 and A002 (amongst
a lot of others.) However the driver only does errata checks
for the 8313 it seems. I also then manually forced the driver
to enable the errata and confirmed I saw 0x7 flag in dmesg.
Finally I added the meta-networking layer to the yocto build to
get a ptpd2 (2.2.0-r1)
On another board, I ran a server as:
ptpd2 -G -C -c -b eth0
On the 8315, I ran the client as:
ptpd2 -g -C -c -b eth0
In neither case (errata off, and errata manually enabled) I did not
manage to get the tx timeout that you got.
There must be something more specific to your environment, your
ptpd client (and args) and perhaps the board itself.
Paul.
--
>
> Regards,
> Tino
>
prev parent reply other threads:[~2013-02-07 21:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-23 15:58 BQL support in gianfar causes network hickup Keitel, Tino (ALC NetworX GmbH)
2012-11-23 16:34 ` Paul Gortmaker
2012-11-23 19:42 ` Francois Romieu
2012-11-24 20:42 ` Tino Keitel
2012-11-24 23:43 ` Eric Dumazet
2012-11-26 10:01 ` Tino Keitel
2012-11-26 16:34 ` Eric Dumazet
2012-11-26 17:08 ` Keitel, Tino (ALC NetworX GmbH)
2012-11-26 17:17 ` Eric Dumazet
2012-11-27 9:36 ` Keitel, Tino (ALC NetworX GmbH)
2012-11-27 12:36 ` Eric Dumazet
2012-11-27 12:42 ` Keitel, Tino (ALC NetworX GmbH)
2012-11-27 13:32 ` Eric Dumazet
2012-11-27 13:49 ` Eric Dumazet
2013-02-05 13:00 ` Keitel, Tino (ALC NetworX GmbH)
2013-02-06 1:55 ` Paul Gortmaker
2013-02-06 15:20 ` Keitel, Tino (ALC NetworX GmbH)
2013-04-29 13:14 ` Claudiu Manoil
2013-04-29 13:20 ` Tino Keitel
2013-05-27 12:47 ` Tino Keitel
2013-02-07 21:05 ` Paul Gortmaker [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=511416FE.9000906@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=Tino.Keitel@alcnetworx.de \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=tino.keitel@tikei.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;
as well as URLs for NNTP newsgroup(s).