]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: make early init processing more robust
authorMitch Williams <mitch.a.williams@intel.com>
Sat, 25 Oct 2014 03:24:33 +0000 (03:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 11 Nov 2014 14:01:54 +0000 (06:01 -0800)
commitaf752be16e7cf45a912460b499b123b6201ad892
tree422102d3f8e4432f4e1ad753d0c9389951d6b04d
parentee787f35157c8bc819495d9e6b866601a09d2328
i40evf: make early init processing more robust

In early init, if we get an unexpected message from the PF (such as link
status), we just kick an error back to the init task, causing it to
restart its state machine and delaying initialization.

Make the early init AQ message receive code more robust by handling
messages in a loop, and ignoring those that we aren't interested in.
This also gets rid of some scary log messages that really didn't
indicate a problem.

Change-ID: I620e8c72e49c49c665ef33eeab2425dd10e721cf
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c