]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40e/i40evf: ARQ copy desc data even for failed commands
authorKamil Krawczyk <kamil.krawczyk@intel.com>
Wed, 9 Jul 2014 07:46:15 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Jul 2014 11:37:18 +0000 (04:37 -0700)
commit77813d0a9f750f8d5075bcbb59d30417e51ab605
tree01303ec6f046576f452f39f7a1ca1ac8b277d113
parentb65476cd53e074802661f4bdd9bc279b8ab65a23
i40e/i40evf: ARQ copy desc data even for failed commands

Copy desc and buffer data even for ARQ events which return error status.
Previously, a check for NVM related AQ commands which is done later in this
function would not recognize that such a command was received and would
not clear nvm_busy flag. This would block access to NVM until a driver reset.
This will fix that.

Change-ID: If69ad74e165b56081c0686b97402511d2e2880c0
Signed-off-by: Kamil Krawczyk <kamil.krawczyk@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40evf/i40e_adminq.c