i40e: change log messages and error returns
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 22 Dec 2015 23:34:42 +0000 (15:34 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Jan 2016 08:49:59 +0000 (00:49 -0800)
commit2d166c304065c57925278a69309f15a6a65eff97
treed3ed4a6583477c6f2c8eaae22785be005c704e3a
parent24759daa018f0fc8cccebc89d3dee0953e73785a
i40e: change log messages and error returns

When VFs are being reset, there is a brief window of time when they
cannot be configured because they don't have a VSI to configure. If
a script is quick, it can fall through that window. To avoid
defenestration, log a useful error message and return -EAGAIN.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c