Skip to content

hw/e1000e|igb: interrupts and qtests fixes

Nicholas Piggin qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 11 repliesIn review
  2. v28 patches 5 repliesSuperseded
  3. v19 patches 7 repliesSuperseded

Changes in v3 from the cover letter

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12qtest/e1000e|igb: Clear interrupt-cause and msix pending bits after irqtests/qtest/e1000e-test.c tests/qtest/igb-test.c+16 -11 reply
2/12net/e1000e: Permit disabling interrupt throttlinghw/net/e1000e_core.c+17 -82 replies
3/12hw/net/e1000e|igb: Remove xitr_guest_value logichw/net/e1000e_core.c hw/net/igb_core.c+28 -192 replies
4/12qtest/e1000e|igb: assert irqs are clear before triggering an irqtests/qtest/e1000e-test.c tests/qtest/igb-test.c tests/qtest/libqos/e1000e.c +1 more+25 -11 reply
5/12net/igb: Fix interrupt throttling interval calculationhw/net/igb_core.c hw/net/igb_regs.h+7 -30 replies
6/12net/igb: Implement EITR Moderation Counterhw/net/igb_core.c hw/net/igb_regs.h+48 -60 replies
7/12igb: Add a note about re-loading timers breaking deterministic replayhw/net/igb_core.c+3 -10 replies
8/12hw/net/e1000e: Postponed msix interrupt processing should auto-clear causehw/net/e1000e_core.c+69 -170 replies
9/12hw/net/e1000e: Do not auto-clear cause on postponed msix interrupthw/net/e1000e_core.c+4 -30 replies
10/12net/e1000e|igb: Only send delayed msix interrupts that have a causehw/net/e1000e_core.c hw/net/igb_core.c+14 -72 replies
11/12net/e1000e|igb: Fix interrupt throttling rearminghw/net/e1000e_core.c hw/net/igb_core.c+35 -252 replies
12/12qtest/e1000e|igb: Test interrupt throttling in multiple_transfers testtests/qtest/e1000e-test.c tests/qtest/igb-test.c+7 -31 reply

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by.

PatchFabiano Rosas
1/12R-b
2/12
3/12
4/12R-b
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/12] hw/e1000e|igb: interrupts and qtests fixes

Since v2:
https://lore.kernel.org/qemu-devel/[email protected]/

Mostly fixed comments from Akihiko Odaki

- e1000e change initial ITR as well as EITR
- Preserve EITR writable bits
- Use SCALE_US constant instead of 1000
- Fix register field definitions to not trample on code from Linux header
- Split the big fixes patch into several pieces

It is difficult to split the big fix into pieces because some of the bugs are inter-dependent. I think I came up with a way to do it.

Thanks,
Nick

Nicholas Piggin (12):
qtest/e1000e|igb: Clear interrupt-cause and msix pending bits after
irq
net/e1000e: Permit disabling interrupt throttling hw/net/e1000e|igb: Remove xitr_guest_value logic qtest/e1000e|igb: assert irqs are clear before triggering an irq net/igb: Fix interrupt throttling interval calculation net/igb: Implement EITR Moderation Counter
igb: Add a note about re-loading timers breaking deterministic replay hw/net/e1000e: Postponed msix interrupt processing should auto-clear
cause
hw/net/e1000e: Do not auto-clear cause on postponed msix interrupt net/e1000e|igb: Only send delayed msix interrupts that have a cause net/e1000e|igb: Fix interrupt throttling rearming qtest/e1000e|igb: Test interrupt throttling in multiple_transfers test

 hw/net/igb_regs.h           |   9 +++
 tests/qtest/libqos/e1000e.h |   1 +
 hw/net/e1000e_core.c        | 146 +++++++++++++++++++++++++-----------
 hw/net/igb_core.c           | 109 +++++++++++++++++++++------
 tests/qtest/e1000e-test.c   |  21 +++++-
 tests/qtest/igb-test.c      |  18 +++++
 tests/qtest/libqos/e1000e.c |   9 ++-
 7 files changed, 246 insertions(+), 67 deletions(-)
Signature · 1 line
2.47.1