net/i40e: fix link update delay
authorQiming Yang <qiming.yang@intel.com>
Wed, 8 Feb 2017 09:14:24 +0000 (17:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commit0046ba5c27bd50edc695a6760355915b89bc60e0
tree58118cc46272f7fbe9c7ca24e44f81fe3d66d524
parent76bf1574e3a8ebbce845fe8c6691665dfc657ddf
net/i40e: fix link update delay

Fix the redundant delay in function link update. There is no need to
call rte_delay_ms and hold CPU for 100ms when link status is up.

Fixes: 263333bbb7a9 ("i40e: fix link status timeout")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_ethdev.c