qemu-patch-raspberry4/hw/net/fsl_etsec
Fam Zheng 575bafd1f3 etsec: Flush queue when rx buffer is consumed
The BH will be scheduled when etsec->rx_buffer_len is becoming 0, which
is the condition of queuing.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1436955553-22791-7-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-27 14:12:18 +01:00
..
etsec.c etsec: Flush queue when rx buffer is consumed 2015-07-27 14:12:18 +01:00
etsec.h etsec: Flush queue when rx buffer is consumed 2015-07-27 14:12:18 +01:00
miim.c Add Enhanced Three-Speed Ethernet Controller (eTSEC) 2014-03-05 03:06:45 +01:00
registers.c Add Enhanced Three-Speed Ethernet Controller (eTSEC) 2014-03-05 03:06:45 +01:00
registers.h Add Enhanced Three-Speed Ethernet Controller (eTSEC) 2014-03-05 03:06:45 +01:00
rings.c etsec: Flush queue when rx buffer is consumed 2015-07-27 14:12:18 +01:00