e324523c6c
Use new rte_eth_linkstatus_get/set helper functions to handle link status update. And cleanup the logic in the the link update routine. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Tested-by: Shijith Thotton <shijith.thotton@caviumnetworks.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>