i40e: Add additional return code to i40e_asq_send_command
authorPiotr Azarewicz <piotr.azarewicz@intel.com>
Tue, 31 Jul 2018 10:41:46 +0000 (03:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 7 Aug 2018 19:20:38 +0000 (12:20 -0700)
commitb2b57b29588c36920fe1364f3f24bebfbe8bf321
treeb0e313949bd1bf8f22cd6b621f10144bf0d2028f
parent6e2feaa344e651bc1a1ec224018827e36192c039
i40e: Add additional return code to i40e_asq_send_command

Firmware can return a busy state, so the function return
I40E_ERR_NOT_READY.

Signed-off-by: Piotr Azarewicz <piotr.azarewicz@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_adminq.c
drivers/net/ethernet/intel/i40evf/i40e_adminq.c