Thread (21 messages) 21 messages, 6 authors, 2013-05-27

Re: BQL support in gianfar causes network hickup

From: Paul Gortmaker <hidden>
Date: 2013-02-07 21:04:46

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:
quoted
On Tue, 2012-11-27 at 13:42 +0100, Keitel, Tino (ALC NetworX GmbH)
wrote:
quoted
On Di, 2012-11-27 at 04:36 -0800, Eric Dumazet wrote:
quoted
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.)
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help