]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Add helper function for clearing VPGEN_VFRTRIG
authorBrett Creeley <brett.creeley@intel.com>
Sat, 16 May 2020 00:51:09 +0000 (17:51 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 22:59:18 +0000 (15:59 -0700)
commit8d5738b1235b0433b951a73e3c96b3d7bfbb2bd7
tree9497efcbdc81ac56900f36e690946d6dd6a9f6d0
parent22db7cf27cffb7fbd7e64e648a0ca6d40276172a
ice: Add helper function for clearing VPGEN_VFRTRIG

Create a helper function for clearing VPGEN_VFRTRIG as this needs to be
done on reset to notify the VF that we are done resetting it. Also, it
needs to be done on SR-IOV initialization/creation in case it was left
in a bad state after SR-IOV tear down.

Signed-off-by: Brett Creeley <brett.creeley@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