ixgbe: fix disable interrupt twice
authorMichael Qiu <michael.qiu@intel.com>
Fri, 29 Jan 2016 05:58:10 +0000 (13:58 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:04:39 +0000 (17:04 +0100)
commit276ddef262f49099dfafeb96791a83240f7d9d66
tree20e587d0f10174bfd10ec7f907596beb83530a1d
parent02fb58d4c7147797e003f51a05f46ecc090c14fa
ixgbe: fix disable interrupt twice

Currently, ixgbe vf and pf will disable interrupt twice in
stop stage and uninit stage. It will cause an error:

    testpmd> quit

    Shutting down port 0...
    Stopping ports...
    Done
    Closing ports...
    EAL: Error disabling MSI-X interrupts for fd 26
    Done

because the interrupt has already been disabled in stop stage.
Since it is enabled in init stage, better remove from
stop stage.

Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c