All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Max Filippov <jcmvbkbc@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Cc: Anthony Liguori <aliguori@amazon.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose
Date: Sun, 02 Feb 2014 10:50:06 +0100	[thread overview]
Message-ID: <52EE14CE.4030707@redhat.com> (raw)
In-Reply-To: <CAMo8BfJhAYmAYoq__s6270UrDfcPpR5FaBofTu3oaqiWm8gmhQ@mail.gmail.com>

Il 02/02/2014 02:47, Max Filippov ha scritto:
> Hello,
>
> is there any way to notify networking core that adapter's
> NetClientInfo::can_receive return value is about to change from 0 to 1?

Yes, qemu_flush_queued_packets.

See commit e8b4c68 (e1000: flush queue whenever can_receive can go from 
false to true, 2012-08-09).

Paolo

  reply	other threads:[~2014-02-02  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-02  1:47 [Qemu-devel] NetClientInfo::can_receive change notification and its purpose Max Filippov
2014-02-02  9:50 ` Paolo Bonzini [this message]
2014-02-02 10:33   ` Max Filippov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52EE14CE.4030707@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.