]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfc2c856c2bdb9217a44dbf0acaefb83e07c91e1
tree506c46734f8782fa5ce372433a661444419ebacc
parentb71f3c3e517cccc9fe57804f0d35fc2bc9efbb7a
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