ixgbe: fix link issues and panic with shared interrupts for 82598
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 29 Sep 2010 21:35:23 +0000 (21:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 00:59:30 +0000 (17:59 -0700)
commit6af3b9ebfea38d0a057fbd7bdcecc61ac5662f02
tree0a5e19d0bc41dc9402c44b397d03c9397051d2cc
parentdd28d1a0b5ecc0f5512f658b1a8fd38bc4f4c98c
ixgbe: fix link issues and panic with shared interrupts for 82598

Fix possible panic/hang with shared Legacy interrupts by not enabling
interrupts when interface is down.

Also fixes an intermittent link by enabling LSC upon exit from ixgbe_intr()

This patch adds flags to ixgbe_irq_enable() to allow for some flexibility
when enabling interrupts.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c