]> asedeno.scripts.mit.edu Git - linux.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)
commit4ff17929e6031bf3377233331223f617015e4ef3
treec046d509e9bb73549294582ce4d5ef9c618e5068
parent8b99b1179c27958f51ecfc489af5f459f9408d96
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