This is v7 of a patch series implementing the Transmit Rate Limiter (TRL) feature for the Intel 82576 (igb) network device emulation in QEMU.
v6: https://lists.gnu.org/archive/html/qemu-devel/2026-06/msg04562.html Changelog: v7: - Inline igb_trl_disable() since it's only needed in one location, igb_core_set_link_status(). - Fix indentation in QTest. - Don't set PCI_MSIX_ENTRY_CTRL_MASKBIT when clearing pending interrupts in Qtest. - Fold calculations igb_trl_calculate_delay() to simplify logic. Signed-off-by: Josh Hilke <[email protected]> --- Josh Hilke (7): igb: Define TRL registers and core state igb: Add VMState support for TRL state igb: Implement TRL register write and configuration igb: Refactor TX path to return processed byte count igb: Implement TRL throttling and timer resumption igb: Add QTest for Transmit Rate Limiter register multiplexing igb: Add QTest for Transmit Rate Limiter traffic throttling hw/net/igb.c | 43 +++++++++++ hw/net/igb_common.h | 1 + hw/net/igb_core.c | 142 ++++++++++++++++++++++++++++++++-- hw/net/igb_core.h | 12 +++ hw/net/igb_regs.h | 5 ++ tests/qtest/igb-test.c | 206 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 404 insertions(+), 5 deletions(-) --- base-commit: 98b060da3a4f92b2a994ead5b16a87e783baf77c change-id: 20260608-igb-trl-19be198da6f2 Best regards, -- Josh Hilke <[email protected]>
