]> 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)
commit42be55c435abfe8553106b06ba611219ef7c3aa3
tree422102d3f8e4432f4e1ad753d0c9389951d6b04d
parent36f96a32526b5c43d305d0efc5f3cfa9737bb383
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