]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: Fix queue interrupt re-raising in Other interrupt
authorBenjamin Poirier <bpoirier@suse.com>
Thu, 8 Feb 2018 06:47:13 +0000 (15:47 +0900)
committerBrian Maly <brian.maly@oracle.com>
Tue, 30 Oct 2018 17:20:19 +0000 (13:20 -0400)
commit7a3dca46b23b76c5bdb8f1f34701d944e108c9ad
treedc45084298a42b56ebfedaf56a27aa0ce2d08c97
parentb27221ef49521c806fd45f36d251ba41e44d6b26
e1000e: Fix queue interrupt re-raising in Other interrupt

Orabug: 28716958

Restores the ICS write for Rx/Tx queue interrupts which was present before
commit 16ecba59bc33 ("e1000e: Do not read ICR in Other interrupt", v4.5-rc1)
but was not restored in commit 4aea7a5c5e94
("e1000e: Avoid receiver overrun interrupt bursts", v4.15-rc1).

This re-raises the queue interrupts in case the txq or rxq bits were set in
ICR and the Other interrupt handler read and cleared ICR before the queue
interrupt was raised.

Fixes: 4aea7a5c5e94 ("e1000e: Avoid receiver overrun interrupt bursts")
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 361a954e6a7215de11a6179ad9bdc07d7e394b04)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/e1000e/netdev.c