Re: [PATCH v6 2/2] net: tulip: add .can_receive routine

2020-03-23 Thread Jason Wang
On 2020/3/24 上午10:04, Li Qiang wrote: P J P mailto:ppan...@redhat.com>> 于2020年3月23日周一 下午8:25写道: From: Prasad J Pandit mailto:p...@fedoraproject.org>> Define .can_receive routine to do sanity checks before receiving packet data. And call qemu_flush_queued_packets to flush queue

Re: [PATCH v6 2/2] net: tulip: add .can_receive routine

2020-03-23 Thread Li Qiang
P J P 于2020年3月23日周一 下午8:25写道: > From: Prasad J Pandit > > Define .can_receive routine to do sanity checks before receiving > packet data. And call qemu_flush_queued_packets to flush queued > packets once they are read in tulip_receive(). > > Suggested-by: Jason Wang > Signed-off-by: Prasad J Pa

[PATCH v6 2/2] net: tulip: add .can_receive routine

2020-03-23 Thread P J P
From: Prasad J Pandit Define .can_receive routine to do sanity checks before receiving packet data. And call qemu_flush_queued_packets to flush queued packets once they are read in tulip_receive(). Suggested-by: Jason Wang Signed-off-by: Prasad J Pandit --- hw/net/tulip.c | 17 +++