]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
i40e: Fix an issue when PF reset fails
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 12 Jul 2014 07:28:25 +0000 (07:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 4 Sep 2014 08:38:30 +0000 (01:38 -0700)
commita316f651c73f782ff7c6df623a69b67f8f464856
tree0253fbb546e9cd8bfb23a92a150fe36cd9bcb01b
parentfaf32978616dc2dfe3dbbbe628806887a2115d44
i40e: Fix an issue when PF reset fails

We shouldn't restart Admin queue subtask if PF reset fails since we do
not have the AQ setup at that point. This patch makes sure we disable AQ
clean subtask when PF reset fails.

This will resolve an occasional kernel panic when PF reset fails for
some reason.

Change-ID: I11a747773362a8c5c0ad7a10cd34be0bda8eb9e8
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c