i40e: Don't stop driver probe when querying DCB config fails
authorNeerav Parikh <Neerav.Parikh@intel.com>
Tue, 1 Apr 2014 07:11:48 +0000 (07:11 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Apr 2014 11:51:32 +0000 (04:51 -0700)
commit014269ff376f552363ecdab78d3d947fbe2237d9
tree506c46734f8782fa5ce372433a661444419ebacc
parent0672a0918374036b7dffd9e60eeb63213e994f1b
i40e: Don't stop driver probe when querying DCB config fails

In case of any AQ command to query port's DCB configuration fails
during driver's probe time; the probe fails and returns an error.

This patch prevents this issue by continuing the driver probe even
when an error is returned.

Also, added an error message to dump the AQ error status to show what
error caused the failure to get the DCB configuration from firmware.

Change-ID: Ifd5663512588bca684069bb7d4fb586dd72221af
Signed-off-by: Neerav Parikh <Neerav.Parikh@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c