Home
last modified time | relevance | path

Searched hist:"09340 f497e96a62d076b2f223e7b16a7358cfecb" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/net/
H A Dsunhme.cdiff 09340f497e96a62d076b2f223e7b16a7358cfecb Sun Jun 30 12:21:50 CDT 2019 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> 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>
H A Dtrace-eventsdiff 09340f497e96a62d076b2f223e7b16a7358cfecb Sun Jun 30 12:21:50 CDT 2019 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> 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>