]> www.infradead.org Git - linux-platform-drivers-x86.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)
commitcfcee02b6c15e8866d03cae3b80edc4e9ad8cc7d
tree9497efcbdc81ac56900f36e690946d6dd6a9f6d0
parent02337f1f59148ad2d361feae0a11f6596b04632b
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