]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix kdump failure
authorAvinash Dayanand <avinash.dayanand@intel.com>
Wed, 27 Dec 2017 13:22:11 +0000 (08:22 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 21:23:33 +0000 (13:23 -0800)
commit6285fd5408dc5e6101536537a37df21188673e35
treee719fc2d760efb320ae500d48a1da1115cb3f9eb
parent39433643ed8165297cc6cdcc73713794d2f91b67
i40e: Fix kdump failure

kdump fails in the system when used in conjunction with Ethernet driver
X722/X710. This is mainly because when we are resource constrained i.e.
when we have just one online_cpus, we are enabling VMDq and iWARP. It
doesn't make sense to enable them with just one CPU and starve kdump
for lack of IRQs.

So don't enable VMDq or iWARP when we just have a single CPU.

Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c