[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200429160213.21777-1-michael@walle.cc>
Date: Wed, 29 Apr 2020 18:02:13 +0200
From: Michael Walle <michael@...le.cc>
To: andrew@...n.ch
Cc: cphealy@...il.com, davem@...emloft.net, f.fainelli@...il.com,
hkallweit1@...il.com, mkubecek@...e.cz, netdev@...r.kernel.org,
Michael Walle <michael@...le.cc>
Subject: Re: [PATCH net-next v1 0/9] Ethernet Cable test support
Hi Andrew,
> Add infrastructure in ethtool and phylib support for triggering a
> cable test and reporting the results. The Marvell 1G PHY driver is
> then extended to make use of this infrastructure.
I'm currently trying this with the AR8031 PHY. With this PHY, you
have to select the pair which you want to start the test on. So
you'd have to start the test four times in a row for a normal
gigabit cable. Right now, I don't see a way how to do that
efficiently if there is no interrupt. One could start another test
in the get_status() polling if the former was completed
successfully. But then you'd have to wait at least four polling
intervals to get the final result (given a cable with four pairs).
Any other ideas?
-michael
Powered by blists - more mailing lists