net/i40e: fix LSC interrupt
authorJingjing Wu <jingjing.wu@intel.com>
Thu, 13 Jul 2017 09:43:22 +0000 (17:43 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Jul 2017 08:09:13 +0000 (11:09 +0300)
commitd58244b9cf5460d0f00c3e0ecdf7b062f07f447b
treedac72cf7e62e1a261bbf7530ff5d26ed6a0073d5
parent53d49d8d4717185a053953352ed4c153d63e7f4e
net/i40e: fix LSC interrupt

If LSC flag is changed to off at last device start, the
enable flag is not cleared in HW.
This patch fixes it.

Fixes: f4668a33efe5 ("net/i40e: fix link status change interrupt")
Cc: stable@dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c