net/ice: invoke callback when link status change
authorLeyi Rong <leyi.rong@intel.com>
Wed, 16 Oct 2019 06:24:46 +0000 (14:24 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commit41eb707e822c2ac1d260c1cf53ceaba902fa6908
tree68bc3260aba1ab044bd30815183e90cbb3c55c64
parent47d460d63233bcdc80748cecf0b74ec85fe1a43c
net/ice: invoke callback when link status change

Needs to call _rte_eth_dev_callback_process to run registered
callbacks when link status change.

Fixes: cf911d90e366 ("net/ice: support link update")
Cc: stable@dpdk.org
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_ethdev.c