net/virtio: use link status helper functions
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 26 Jan 2018 02:01:39 +0000 (18:01 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commit717b2e8eae444c67da25cbfac22ba0705c487b2a
tree21202e5461a2815e6ae584b1e44294d6dd0819f1
parentb77d21cc2364fe784c48867b0b779ab46cf69853
net/virtio: use link status helper functions

Use new rte_eth_linkstatus_get/set helper functions to handle link
status update.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/virtio/virtio_ethdev.c