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

On Sun, Feb 2, 2014 at 1:50 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
> 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).

Thanks Paolo!

-- Max

      reply	other threads:[~2014-02-02 10:33 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
2014-02-02 10:33   ` Max Filippov [this message]

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='CAMo8BfJ5UTNMXKGDu7dYfupZDcmLGa3s=srNgikTYjvwka1x6Q@mail.gmail.com' \
    --to=jcmvbkbc@gmail.com \
    --cc=aliguori@amazon.com \
    --cc=pbonzini@redhat.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.