[Intel-wired-lan] [PATCH S11 11/16] ice: clear VF ARQLEN register on reset

Bowers, AndrewX andrewx.bowers at intel.com
Fri Feb 15 00:02:39 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Friday, February 8, 2019 12:51 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S11 11/16] ice: clear VF ARQLEN register on
> reset
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> On older devices like X710 and X722, the VF's ARQLEN register is cleared on
> reset, so the VF driver uses that register to detect an unannouced reset.
> Unfortunately, on devices controlled by ice, this register is NOT cleared on
> reset. This causes the VF to miss resets, and even on properly-announced
> resets, the VF driver complains that it didn't see the reset.
> 
> To fix this, we'll do it in software. When we handle a VF reset (whether
> triggered by software or VFLR), clear this register after the HW reset is
> complete.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_hw_autogen.h  | 1 +
> drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 5 +++++
>  2 files changed, 6 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list