net/mlx5: fix link status report
authorOlga Shern <olgas@mellanox.com>
Mon, 17 Oct 2016 11:10:48 +0000 (13:10 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:38:18 +0000 (19:38 +0200)
commit0d1e2f8da921806f92bcd95e47c5aa528f42679f
treec2ad936fc1220bee0db682166cc79287a08d9619
parent0876c8b821296eaaf466a03e1f89df05f75b661a
net/mlx5: fix link status report

This commit fixes link status report on device start up when
lcs callback is configured.

Fixes: 62072098b54e ("mlx5: support setting link up or down")

Signed-off-by: Olga Shern <olgas@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c