netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, jasowang@redhat.com, mst@redhat.com,
	willemb@google.com
Subject: Re: [PATCH net-next] virtio_net: exploit napi_complete_done() return value
Date: Sat, 04 Feb 2017 19:39:01 -0500 (EST)	[thread overview]
Message-ID: <20170204.193901.790935994094939434.davem@davemloft.net> (raw)
In-Reply-To: <1486223361.21871.136.camel@edumazet-glaptop3.roam.corp.google.com>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Sat, 04 Feb 2017 07:49:21 -0800

> From: Eric Dumazet <edumazet@google.com>
> 
> Since commit 364b6055738b ("net: busy-poll: return busypolling status to
> drivers"), napi_complete_done() returns a boolean that can be used
> by drivers to conditionally rearm interrupts.
> 
> This patch changes virtio_net to use this boolean to avoid a bit of
> overhead for busy-poll users.
> 
> Jason reports about 1.1% improvement for 1 byte TCP_RR (burst 100).
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Acked-by: Jason Wang <jasowang@redhat.com>

Applied.

      reply	other threads:[~2017-02-05  0:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 15:49 [PATCH net-next] virtio_net: exploit napi_complete_done() return value Eric Dumazet
2017-02-05  0:39 ` David Miller [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=20170204.193901.790935994094939434.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=willemb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).