net/mrvl: query link status using library API
authorTomasz Duszynski <tdu@semihalf.com>
Tue, 5 Dec 2017 09:39:17 +0000 (10:39 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitc21051624d009429ddffacec73fbe517c501c3c9
tree72a0ff8244259cbd58a90b1c3fc76ce6e985f2fe
parentc2b1c48ac1abca55d97f4be37d0b206ed9faac51
net/mrvl: query link status using library API

Up to now link status was updated unconditionally during
link_up()/link_down() calls thus one was never sure about
it's true status.

Using dedicated library API makes sure the true link status is set.

Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Acked-by: Jianbo Liu <jianbo.liu@arm.com>
drivers/net/mrvl/mrvl_ethdev.c