]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix rare self-test failures
authorYaniv Rosner <yanivr@broadcom.com>
Mon, 14 Jan 2013 05:11:44 +0000 (05:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jan 2013 20:07:58 +0000 (15:07 -0500)
commit5a51d3f0854de6a88ec72fa8c1f5fbb1359ecfbf
treec7cec9a63d71712fcd44c52845637d47332f2916
parent64428d73cfec431ed457ad33583984c0dcb6133e
bnx2x: Fix rare self-test failures

On rare occasions, self test link may fail since the link is
being sampled while it's still being stabilized.
To correct this behaviour, try to sample the link for 2 seconds
prior to declaring a failure.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c