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 <mark.cave-ayl...@ilande.co.uk> 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