OSDN Git Service

ice: Fix VF configuration issues due to reset
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 2 Aug 2019 08:25:22 +0000 (01:25 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 27 Aug 2019 06:47:57 +0000 (23:47 -0700)
commitcb6a8dc07827086a7ce4151c62367d959c6ad5f1
tree2ee141b7fcaf34f7f867d517bfdce4a98c0c7699
parent78b5713ac12417d796bbdcabf67dd94584f6102b
ice: Fix VF configuration issues due to reset

This patch fixes a critical reset issue that resulting to the server
reboot when an Admin changes VF configuration on the host, for example
changing VF to Trusted/non_Trusted mode, the PF driver send reset
notification to AVF driver while also continue with reset flow. However,
AVF driver schedule another reset due to notification, which causes two
concurrent reset going on, and trigger lock up in the FW, with AQ call to
delete VSI.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c