On Tue, 20 Mar 2018 11:27:26 +0800
Jason Wang wrote:
> >> -static
> >> void qemu_flush_or_purge_queued_packets(NetClientState *nc, bool
> >> purge)
> >> {
> >> nc->receive_disabled = 0;
> >>
> >>
> >
> > Applied and queued for -stable.
> >
> > Thanks
> >
>
> Unfortunately, this
-static
void qemu_flush_or_purge_queued_packets(NetClientState *nc, bool
purge)
{
nc->receive_disabled = 0;
Applied and queued for -stable.
Thanks
Unfortunately, this breaks hotplug test:
TEST: tests/virtio-net-test... (pid=7117)
/x86_64/virtio/net/pci/basic: OK
/x86_64/v
On 2018年03月16日 20:07, Greg Kurz wrote:
If the backend could not transmit a packet right away for some reason,
the packet is queued for asynchronous sending. The corresponding vq
element is tracked in the async_tx.elem field of the VirtIONetQueue,
for later freeing when the transmission is compl
If the backend could not transmit a packet right away for some reason,
the packet is queued for asynchronous sending. The corresponding vq
element is tracked in the async_tx.elem field of the VirtIONetQueue,
for later freeing when the transmission is complete.
If a reset happens before completion,