]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40e: clear only cause_ena bit
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 7 Jun 2017 09:43:11 +0000 (05:43 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
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 <shannon.nelson@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c