net/mlx5e: Enable local loopback in loopback selftest
authorHuy Nguyen <huyn@mellanox.com>
Tue, 30 May 2017 06:42:55 +0000 (09:42 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 14:29:18 +0000 (10:29 -0400)
commit2c43c5a036be7d03232a2b28f4a440a8cafe699f
tree50eac9c818986f86ff6c6effd4b90d1c86a8da12
parentc85023e153e3824661d07307138fdeff41f6d86a
net/mlx5e: Enable local loopback in loopback selftest

Before running the ethtool's loopback selftest, we need
to make sure that the local loopback is enabled.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c