Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-13 Thread Douglas Miller
Very interesting. I was running a RHEL 7.1 kernel 3.10.0-229.ael7b.ppc64le (PowerPC). tg3 version 3.137, firmware 5719-v1.24i, but unknown what patches were added to either of our modules. We will investigate the environment more, under the assumption that we should not be required to insert

Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-13 Thread Siva Reddy (Siva) Kallam
On 8/12/2015 6:02 PM, Douglas Miller wrote: Oh, I had missed the extra "if" condition on tg3_test_link(). So "external_lb" is not a true superset of "offline". So you are not surprised by the (about) 20 second "link down" period after this test? If this is expected (albeit undocumented) beha

Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-12 Thread Douglas Miller
Oh, I had missed the extra "if" condition on tg3_test_link(). So "external_lb" is not a true superset of "offline". So you are not surprised by the (about) 20 second "link down" period after this test? If this is expected (albeit undocumented) behavior we can change the test scenario to work a

Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-11 Thread Michael Chan
On Tue, 2015-08-11 at 14:24 -0500, Douglas Miller wrote: > Yes, the "wrap plugs" are the loopback cables/plugs. It is my > understanding that the "offline" tests do not require anything to be > plugged into the ports, as they do not in any way touch the "external" > port. They perform an "inter

Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-11 Thread Douglas Miller
Thanks Michael for getting back to me. Yes, the "wrap plugs" are the loopback cables/plugs. It is my understanding that the "offline" tests do not require anything to be plugged into the ports, as they do not in any way touch the "external" port. They perform an "internal loopback" test which

Re: Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-11 Thread Michael Chan
On Tue, 2015-08-11 at 10:59 -0500, Douglas Miller wrote: > (Sorry if you got several duplicates, am trying to work through rejected > messages due to supposed HTML content) > > The following behavior is being observed when running "ethtool -t > offline" on ports on the Broadcom BCM5719 adapter

Question on behavior of tg3_self_test() (ethtool -t on tg3 driver)

2015-08-11 Thread Douglas Miller
(Sorry if you got several duplicates, am trying to work through rejected messages due to supposed HTML content) The following behavior is being observed when running "ethtool -t offline" on ports on the Broadcom BCM5719 adapter (tg3 driver). The ports have wrap plugs on them, although I'm not