]> 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)
commit30c102bb85448fae527463313226abf4da6f347b
treec046d509e9bb73549294582ce4d5ef9c618e5068
parentb42b341e06be68fd119b0677d754c0bd8532d79b
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