From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: davem@davemloft.net, bob.picco@oracle.com,
sowmini.varadhan@oracle.com, dwight.engen@oracle.com,
raghuram.kothakota@oracle.com
Cc: netdev@vger.kernel.org, sparclinux@vger.kernel.org
Subject: [PATCHv3 RFC net-next 0/4] sunvnet: NAPIfy sunvnet
Date: Wed, 15 Oct 2014 12:42:34 -0400 [thread overview]
Message-ID: <20141015164234.GA11840@oracle.com> (raw)
This patchset converts the sunvnet driver to use the NAPI framework.
Patch 1 in the series addresses the packet-receive path- all
the vnet_event() processing is moved into NAPI context.
This patch is dependant on the sparc-next commit:
"sparc64: Add vio_set_intr() to enable/disable Rx interrupts"
(Please cherry-pick sparc commit id ca605b7dd740c8909408d67911d8ddd272c2b320)
Patch 2 uses RCU to fix race conditions between vnet_port_remove and
paths that access/modify port-related state, such as vnet_start_xmit.
Patch 3 and Patch 4 in the series leverage from the NAPIfied Rx path,
dropping superfluous usage of the irqsave/irqrestores on the vio.lock
where possible.
Note: Patch 3 contains changes that target sparc-next, Patch 4 targets
net-next.
Sowmini Varadhan (4):
NAPIfy sunvnet
Use RCU to synchronize port usage with vnet_port_remove()
Avoid irqsave/restore on vio.lock if in_softirq()
Remove irqsave/irqrestore on vio.lock
arch/sparc/kernel/viohs.c | 8 +-
drivers/net/ethernet/sun/sunvnet.c | 261 +++++++++++++++++++++++--------------
drivers/net/ethernet/sun/sunvnet.h | 6 +-
3 files changed, 176 insertions(+), 99 deletions(-)
--
1.8.4.2
next reply other threads:[~2014-10-15 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 16:42 Sowmini Varadhan [this message]
2014-10-22 18:57 ` [PATCHv3 RFC net-next 0/4] sunvnet: NAPIfy sunvnet Sowmini Varadhan
2014-10-22 19:39 ` David Miller
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=20141015164234.GA11840@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=bob.picco@oracle.com \
--cc=davem@davemloft.net \
--cc=dwight.engen@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=raghuram.kothakota@oracle.com \
--cc=sparclinux@vger.kernel.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 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).