ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
authorBrett Creeley <brett.creeley@intel.com>
Fri, 26 Feb 2021 21:19:21 +0000 (13:19 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 4 Jun 2021 14:37:48 +0000 (07:37 -0700)
commit8679f07a9922068b9b6be81b632f52cac45d1b91
tree40fe82d3b3faccf81709ed41816f74f1f1de2a96
parentf0457690af56673cb0c47af6e25430389a149225
ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared

Some AVF drivers expect the VF_MBX_ATQLEN register to be cleared for any
type of VFR/VFLR. Fix this by clearing the VF_MBX_ATQLEN register at the
same time as VF_MBX_ARQLEN.

Fixes: 82ba01282cf8 ("ice: clear VF ARQLEN register on reset")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c