i40e: clear only cause_ena bit
authorShannon Nelson <[email protected]>
Wed, 7 Jun 2017 09:43:11 +0000 (05:43 -0400)
committerJeff Kirsher <[email protected]>
Wed, 21 Jun 2017 01:17:12 +0000 (18:17 -0700)
commit2e5c26ea0d0843074a1b8c868aae5c828c155569
tree1549c3f460b49ed50b558830ab8e338ce67a87bc
parente588723986845457942e8a1acb1e31cf18e8eb08
i40e: clear only cause_ena bit

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 <[email protected]>
Signed-off-by: Mitch Williams <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_main.c