net/nfp: use link status helper functions
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 26 Jan 2018 02:01:42 +0000 (18:01 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commitaab28ea2bc253b9c8340176bf50f0d1d39647757
treef587b0cb786036e1eff9539a92fec8c65166ecf6
parent7e2eb5f0d2a30f243dc682ac80cd3f3eda507ad6
net/nfp: 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/nfp/nfp_net.c