[Intel-wired-lan] [next PATCH S72-V3 11/13] i40e: clear only cause_ena bit

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jun 8 18:51:00 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, June 7, 2017 2:43 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Shannon Nelson <shannon.nelson at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S72-V3 11/13] i40e: clear only
> cause_ena bit
> 
> From: Shannon Nelson <shannon.nelson at intel.com>
> 
> When disabling interrupts, we should only be clearing the CAUSE_ENA bit,
> not clearing the whole register.  Clearing the whole register sets the
> NEXTQ_IDX field to 0 instead of 0x7ff which can confuse the Firmware in
> some reset sequences.
> 
> Signed-off-by: Shannon Nelson <shannon.nelson at intel.com>
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

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




More information about the Intel-wired-lan mailing list