]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
i40e: fixup legacy interrupt handling
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 28 Sep 2013 07:13:28 +0000 (07:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Oct 2013 12:42:47 +0000 (05:42 -0700)
commit958a3e3b14f3f7b2dcc35fad0b8695d9bcd9fbd0
tree4842933df1d7fc938710ed22369b01eb3c1e3380
parent13c60b99055a9e53543b7df7e4cb7eda3d6e5700
i40e: fixup legacy interrupt handling

There were a number of little bugs in the error handling of irq setup, most of
which ended up panicing the kernel, and are addressed by this patch, along with
a couple formatting issues.

Legacy interrupts (including MSI) are used only in the case of failure to
allocate MSI-X interrupts.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c