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)
commitf8d4db35e870896dd7b2ba70a30f4dfc53c39472
tree422102d3f8e4432f4e1ad753d0c9389951d6b04d
parent79442d38b370ed7317cd82fb2b6d1dafccaf44e5
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
This page took 0.043953 seconds and 5 git commands to generate.