]> git.baikalelectronics.ru Git - kernel.git/commit
i40e/i40evf: Don't bother setting the CLEARPBA bit
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 29 Dec 2017 13:50:55 +0000 (08:50 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 12 Feb 2018 18:56:16 +0000 (10:56 -0800)
commit1b64c36eeedcb11cb7aabc8359806bb0ef44df56
treec046d509e9bb73549294582ce4d5ef9c618e5068
parenta095e4bb648e37c5019b4f90509db50f2ff863f9
i40e/i40evf: Don't bother setting the CLEARPBA bit

The CLEARPBA bit in the dynamic interrupt control register actually has
no effect either way on the hardware. As per errata 28 in the XL710
specification update the interrupt is actually cleared any time the
register is written with the INTENA_MSK bit set to 0. As such the act of
toggling the enable bit actually will trigger the interrupt being
cleared and could lead to potential lost events if auto-masking is
not enabled.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c