Re: [Qemu-devel] [PATCH] hw/net: handle flow control in mcf_fec driver receiver

2015-07-28 Thread Stefan Hajnoczi
On Tue, Jul 28, 2015 at 11:02:54AM +1000, Greg Ungerer wrote: > The network mcf_fec driver emulated receive side method is not dealing > with network queue flow control properly. > > Modify the receive side to check if we have enough space in the > descriptors to store the current packet. If not w

[Qemu-devel] [PATCH] hw/net: handle flow control in mcf_fec driver receiver

2015-07-27 Thread Greg Ungerer
The network mcf_fec driver emulated receive side method is not dealing with network queue flow control properly. Modify the receive side to check if we have enough space in the descriptors to store the current packet. If not we process none of it and return 0. When the guest frees up some buffers