[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090212.171755.202634487.davem@davemloft.net>
Date: Thu, 12 Feb 2009 17:17:55 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: adetsch@...ibm.com, netdev@...r.kernel.org,
e1000-devel@...ts.sourceforge.net
Subject: Re: [E1000-devel] [PATCH] Fix link test for e1000 and e1000e when
iface is down
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Thu, 12 Feb 2009 17:10:22 -0800
> On Tue, Feb 10, 2009 at 8:35 AM, Andre Detsch <adetsch@...ibm.com> wrote:
> >
> > When running ethtool -t on an interface that was just
> > brought down, the link test was failing. That's because
> > we need to perform a reset on the interface to be able
> > to check the link status correctly. There is no problem
> > on doing such reset right before the test, as the link
> > test routine is prepared to wait for autoneg to complete
> > if that is the case.
> >
> > Signed-off-by: Andre Detsch <adetsch@...ibm.com>
> > ---
>
> I guess this comes down to what the definition of a Link test should
> be doing. My $0.02 is that it should be testing if the interface has
> a link, in which case if you ifdown the interface before running the
> Link test, I would expect it to fail.
>
> With this patch, if you bring down the device and run the ethtool diag
> tests, the Link test would come back as passing which is something I
> would not expect.
>
> NAK.
I have to agree with Jeff on this one.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists