All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: <xen-devel@lists.xen.org>, <netdev@vger.kernel.org>
Cc: <ian.campbell@citrix.com>, <konrad.wilk@oracle.com>,
	Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH net-next 0/3] xen-netback: switch to NAPI + kthread 1:1 model
Date: Fri, 24 May 2013 11:32:30 +0100	[thread overview]
Message-ID: <1369391553-16835-1-git-send-email-wei.liu2@citrix.com> (raw)

This series implements NAPI + kthread 1:1 model for Xen netback.

This model
 - provides better scheduling fairness among vifs
 - is prerequisite for implementing multiqueue for Xen network driver

The first two patches are ground work for the third patch. They aim to reduce
memory footprint of netback.

The third patch has the real meat:
 - make use of NAPI to mitigate interrupt 
 - kthreads are not bound to CPUs any more, so that we can take advantage of
   backend scheduler and trust it to do the right thing

Wei Liu (3):
  xen-netback: page pool support
  xen-netback: switch to per-cpu scratch space
  xen-netback: switch to NAPI + kthread 1:1 model

 drivers/net/xen-netback/Makefile    |    2 +-
 drivers/net/xen-netback/common.h    |   92 ++--
 drivers/net/xen-netback/interface.c |  124 +++--
 drivers/net/xen-netback/netback.c   |  977 +++++++++++++++--------------------
 drivers/net/xen-netback/page_pool.c |  186 +++++++
 drivers/net/xen-netback/page_pool.h |   60 +++
 6 files changed, 812 insertions(+), 629 deletions(-)
 create mode 100644 drivers/net/xen-netback/page_pool.c
 create mode 100644 drivers/net/xen-netback/page_pool.h

-- 
1.7.10.4

             reply	other threads:[~2013-05-24 10:32 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-24 10:32 Wei Liu [this message]
2013-05-24 10:32 ` [PATCH net-next 1/3] xen-netback: page pool support Wei Liu
2013-05-24 10:32 ` Wei Liu
2013-05-24 12:44   ` David Vrabel
2013-05-24 12:44   ` [Xen-devel] " David Vrabel
2013-05-24 13:25     ` Wei Liu
2013-05-24 13:25     ` Wei Liu
2013-05-24 13:34     ` Wei Liu
2013-05-24 13:34     ` [Xen-devel] " Wei Liu
2013-05-24 10:32 ` [PATCH net-next 2/3] xen-netback: switch to per-cpu scratch space Wei Liu
2013-05-24 10:32 ` Wei Liu
2013-05-24 12:24   ` David Vrabel
2013-05-24 12:24   ` [Xen-devel] " David Vrabel
2013-05-24 12:31     ` Wei Liu
2013-05-24 12:31     ` Wei Liu
2013-05-24 10:32 ` [PATCH net-next 3/3] xen-netback: switch to NAPI + kthread 1:1 model Wei Liu
2013-05-24 10:32 ` Wei Liu
  -- strict thread matches above, loose matches on Subject: below --
2013-08-26 11:59 [PATCH net-next 0/3] " Wei Liu
2013-08-28  9:01 ` Wei Liu
2013-08-28 14:28   ` David Miller
2013-08-28 14:41     ` Wei Liu
2013-08-28 14:41     ` Wei Liu
2013-08-28 16:08       ` David Miller
2013-08-28 16:08       ` David Miller
2013-08-28 14:28   ` David Miller
2013-08-28  9:01 ` Wei Liu
2013-08-29  5:23 ` David Miller
2013-08-29  5:23 ` David Miller
2013-08-26 11:59 Wei Liu
2013-05-24 10:32 Wei Liu

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=1369391553-16835-1-git-send-email-wei.liu2@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=netdev@vger.kernel.org \
    --cc=xen-devel@lists.xen.org \
    /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.