net/mlx5: fix link status to use wait to complete
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Mon, 12 Mar 2018 13:43:19 +0000 (14:43 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commitcfee94752b8f8f09b984335ae77b29af15b967fd
tree5d79c4c1e2ff6a01136a35acb3890b4a8f0a8cdc
parent7ba5320baa3285bf8beca96cc025ff56b494060d
net/mlx5: fix link status to use wait to complete

Wait to complete is present to let the application get a correct status
when it requires it, it should not be ignored.

Fixes: e313ef4c2fe8 ("net/mlx5: fix link state on device start")
Fixes: cb8faed7dde8 ("mlx5: support link status update")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_defs.h
drivers/net/mlx5/mlx5_ethdev.c