Re: [Qemu-devel] [PATCH] ne2000: Drop ne2000_can_receive

2015-09-02 Thread Stefan Hajnoczi
On Wed, Jul 01, 2015 at 01:25:05PM +0800, Fam Zheng wrote: > ne2000_receive already checks the same conditions and drops the packet > if it's not ready, removing the .can_receive callback avoids the > necessity to add explicit flushes when the conditions turn true (which > is required by the new se

Re: [Qemu-devel] [PATCH] ne2000: Drop ne2000_can_receive

2015-07-02 Thread Stefan Hajnoczi
On Wed, Jul 01, 2015 at 01:25:05PM +0800, Fam Zheng wrote: > ne2000_receive already checks the same conditions and drops the packet > if it's not ready, removing the .can_receive callback avoids the > necessity to add explicit flushes when the conditions turn true (which > is required by the new se

[Qemu-devel] [PATCH] ne2000: Drop ne2000_can_receive

2015-06-30 Thread Fam Zheng
ne2000_receive already checks the same conditions and drops the packet if it's not ready, removing the .can_receive callback avoids the necessity to add explicit flushes when the conditions turn true (which is required by the new semantics of .can_receive since 6e99c63 "net/socket: Drop net_socket_