]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit078385bbef68b021d2b1a5fc472f2a05641bba4e
tree40fe82d3b3faccf81709ed41816f74f1f1de2a96
parente1076a0a60fee939dc33ae60fbb2901576bf7d89
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: 4e45b20c002d ("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