net/i40e: cancel alarm handler at the end of closure
authorXiaolong Ye <xiaolong.ye@intel.com>
Tue, 23 Oct 2018 00:54:28 +0000 (08:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commite0e6a7f2154ee5ecd7c80a876d323118408369b9
treed8bb6fdbef4b8946ee1b0e65fe94d21fedb8e588
parent2c6d4f0338efc2134efc55a574f73ac481b323b4
net/i40e: cancel alarm handler at the end of closure

Some operations in i40evf_dev_close like i40evf_dev_promiscuous_disable
still need alarm handler to clear the pending cmd, if alarm handler is
canceled in early stage of i40evf_dev_close,
i40evf_dev_promiscuous_disable will result in failure.

Fixes: 864a800d706d ("net/i40e: remove VF interrupt handler")
Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c