[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/5] sunhme: misc fixes for tap mode
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-devel] [PATCH 0/5] sunhme: misc fixes for tap mode |
Date: |
Sun, 30 Jun 2019 18:31:58 +0100 |
This patchset contains a set of fixes found whilst investigating some privately
reported issues when using the sunhme device in tap mode on a busy network.
The first patch simply adds a trace-event for logging the PCI IRQ which was
useful in help diagnose the issues in the subsequent patches.
Patches 2-4 fix errors in enabling and disabling the receiver found during
local testing with NetBSD which toggles the receiver state on startup.
Finally patch 5 fixes a bug whereby on a busy network it is possible to
overflow the descriptor ring and therefore we must report this back correctly
to the OS to allow it to handle the situation accordingly.
Signed-off-by: Mark Cave-Ayland <address@hidden>
Mark Cave-Ayland (5):
sunhme: add trace event for logging PCI IRQ
sunhme: fix incorrect constant in sunhme_can_receive()
sunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is
raised
sunhme: fix return values from sunhme_receive() during receive packet
processing
sunhme: ensure that RX descriptor ring overflow is indicated to client
driver
hw/net/sunhme.c | 29 +++++++++++++++++++++++++----
hw/net/trace-events | 2 ++
2 files changed, 27 insertions(+), 4 deletions(-)
--
2.11.0
- [Qemu-devel] [PATCH 0/5] sunhme: misc fixes for tap mode,
Mark Cave-Ayland <=
- [Qemu-devel] [PATCH 2/5] sunhme: fix incorrect constant in sunhme_can_receive(), Mark Cave-Ayland, 2019/06/30
- [Qemu-devel] [PATCH 3/5] sunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is raised, Mark Cave-Ayland, 2019/06/30
- [Qemu-devel] [PATCH 1/5] sunhme: add trace event for logging PCI IRQ, Mark Cave-Ayland, 2019/06/30
- [Qemu-devel] [PATCH 4/5] sunhme: fix return values from sunhme_receive() during receive packet processing, Mark Cave-Ayland, 2019/06/30
- [Qemu-devel] [PATCH 5/5] sunhme: ensure that RX descriptor ring overflow is indicated to client driver, Mark Cave-Ayland, 2019/06/30