net/mlx4_en: Run loopback test only when port is up
authorEugenia Emantayev <eugenia@mellanox.com>
Tue, 8 Jul 2014 08:25:20 +0000 (11:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 02:58:44 +0000 (19:58 -0700)
commit4359db1e0d9f763dfcffbf23fb4a19341aad9b6b
tree15fa35a4bffd537cb02c808f80ffac41aaf2bf49
parent523ece889eeee84a381e16086b81e07a76cff8b6
net/mlx4_en: Run loopback test only when port is up

Loopback can't work when port is down.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_selftest.c