]> 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)
commit98f62a40e897c6081cb61175034b332d9f956643
tree506c46734f8782fa5ce372433a661444419ebacc
parent9426da78ff2d11b0d8f954f59fe0b68c63a87a30
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