[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c37337c1-f339-03d1-bcee-aedd2e68501e@gmail.com>
Date: Sat, 9 May 2020 17:09:13 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Michael Walle <michael@...le.cc>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next 4/4] net: phy: bcm54140: add cable diagnostics
support
On 5/9/2020 3:37 PM, Michael Walle wrote:
> Use the generic cable tester functions from bcm-phy-lib to add cable
> tester support.
>
> 100m cable, A/B/C/D open:
> Cable test started for device eth0.
> Cable test completed for device eth0.
> Pair: Pair A, result: Open Circuit
> Pair: Pair B, result: Open Circuit
> Pair: Pair C, result: Open Circuit
> Pair: Pair D, result: Open Circuit
> Pair: Pair A, fault length: 106.60m
> Pair: Pair B, fault length: 103.32m
> Pair: Pair C, fault length: 104.96m
> Pair: Pair D, fault length: 106.60m
>
> 1m cable, A/B connected, pair C shorted, D open:
> Cable test started for device eth0.
> Cable test completed for device eth0.
> Pair: Pair A, result: OK
> Pair: Pair B, result: OK
> Pair: Pair C, result: Short within Pair
> Pair: Pair D, result: Open Circuit
> Pair: Pair C, fault length: 0.82m
> Pair: Pair D, fault length: 1.64m
>
> 1m cable, A/B connected, pair C shorted with D:
> Cable test started for device eth0.
> Cable test completed for device eth0.
> Pair: Pair A, result: OK
> Pair: Pair B, result: OK
> Pair: Pair C, result: Short to another pair
> Pair: Pair D, result: Short to another pair
> Pair: Pair C, fault length: 1.64m
> Pair: Pair D, fault length: 1.64m
>
> The granularity of the length measurement seems to be 82cm.
>
> Signed-off-by: Michael Walle <michael@...le.cc>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists