On Friday, July 07/17/20, 2020 at 20:02:51 +0200, Andrew Lunn wrote: > On Fri, Jul 17, 2020 at 07:17:55PM +0530, Vishal Kulkarni wrote: > > This series of patches add support for below tests. > > 1. Adapter status test > > 2. Link test > > 3. Link speed test > > 4. Loopback test > > Hi Vishal > > The loopback test is pretty usual for an ethtool self test. But the > first 3 are rather odd. They don't really seem to be self tests. What > reason do you have for adding these? Are you trying to debug a > specific problem? > > Andrew Hi Andrew,
Our requirement is to add a list of self tests that can summarize if the adapter is functioning properly in a single command during system init. The above tests are the most common ones run by our on-field diagnostics team. Besides, these tests seem to be the most common among other drivers as well. Hence we have added 1. Adapter status test: Tests whether the adapter is alive or crashed 2. Link test: Adapter PHY is up or not. 3. Link speed test: Adapter has negotiated link speed correctly or not. -Vishal