]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 5 Mar 2018 18:06:39 +0000 (10:06 -0800)
commit8fbda1a1ce0acdee35eb3cb9a95daff1da848052
tree41fdf68ef81c98010ac09e3bd2e3c1bd8ca172fd
parent36d0118074bb205b5e3c3f2982c2d8c36b0a1ce8
e1000e: Fix queue interrupt re-raising in Other interrupt

Restores the ICS write for Rx/Tx queue interrupts which was present before
commit 93410865bad2 ("e1000e: Do not read ICR in Other interrupt", v4.5-rc1)
but was not restored in commit 7787cd116c75
("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: 7787cd116c75 ("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>
drivers/net/ethernet/intel/e1000e/netdev.c