summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland2019-06-30 19:21:50 +0200
committerMark Cave-Ayland2019-07-02 23:49:08 +0200
commit09340f497e96a62d076b2f223e7b16a7358cfecb (patch)
treed719603d5767d08482925e092698fb8bbdbe6617 /include
parentsunhme: fix return values from sunhme_receive() during receive packet processing (diff)
downloadqemu-09340f497e96a62d076b2f223e7b16a7358cfecb.tar.gz
qemu-09340f497e96a62d076b2f223e7b16a7358cfecb.tar.xz
qemu-09340f497e96a62d076b2f223e7b16a7358cfecb.zip
sunhme: ensure that RX descriptor ring overflow is indicated to client driver
On very busy networks connected via a tap interface, it is possible to overflow the RX descriptor ring in the time between the client driver enabling the RX MAC and finishing writing the final configuration to the NIC registers. Ensure that we detect this condition and update the status register accordingly to indicate an overflow has occurred (and the incoming packet dropped) in order to prevent the client driver becoming confused. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions