]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: propagate properly
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 9 Nov 2015 23:35:50 +0000 (15:35 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:36:29 +0000 (08:36 -0800)
commit0271874c19da1732363828d0d7d8b85cec2a0283
tree8e519287770a67a497aceeb82471070dba1e9abe
parentaf535f887c89acfaf0d2e8e045abed527f2073b1
i40e: propagate properly

Orabug: 22342532

i40e_sync_vsi_filters() is the surly teenager of this driver. It says
it's going to report errors, but it doesn't actually do that most of the
time. And when it does, it leaves a mess.

Change this function to have a common exit point so it will properly
release the busy lock on the VSI. Propagate errors to the callers.
Finally, adjust a few callers to check for and deal with errors from
this function.

Change-ID: Ic6af4956491e72402ebb3c538a3c31a0ad7f8667
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>
(cherry picked from commit ea02e90b4b49782462d06a425e05c776909fbae4)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c