* [PATCHv6 net-next 0/3] sunvnet: NAPIfy sunvnet
@ 2014-10-25 19:11 Sowmini Varadhan
2014-10-25 20:21 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sowmini Varadhan @ 2014-10-25 19:11 UTC (permalink / raw)
To: davem, bob.picco, sowmini.varadhan, dwight.engen,
raghuram.kothakota; +Cc: netdev
This patchset converts the sunvnet driver to use the NAPI framework.
Changes since v4 to Patch1:
vnet_event accumulates LDC_EVENT_* bits into rx_event.
vnet_event_napi() unrolls send_events() logic to process all rx_event bits.
Changes since v5:
Patch 1: use net_device.h definition for NAPI_POLL_WEIGHT.
Drop sparclinux changes (patch3) per David Miller feedback
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"
(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 leverages from the NAPIfied Rx path,
dropping superfluous usage of the irqsave/irqrestores on the vio.lock
where possible.
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 | 263 +++++++++++++++++++++++--------------
drivers/net/ethernet/sun/sunvnet.h | 6 +-
3 files changed, 177 insertions(+), 100 deletions(-)
--
1.8.4.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCHv6 net-next 0/3] sunvnet: NAPIfy sunvnet
2014-10-25 19:11 [PATCHv6 net-next 0/3] sunvnet: NAPIfy sunvnet Sowmini Varadhan
@ 2014-10-25 20:21 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-10-25 20:21 UTC (permalink / raw)
To: sowmini.varadhan; +Cc: bob.picco, dwight.engen, raghuram.kothakota, netdev
From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Date: Sat, 25 Oct 2014 15:11:52 -0400
> This patchset converts the sunvnet driver to use the NAPI framework.
> Changes since v4 to Patch1:
> vnet_event accumulates LDC_EVENT_* bits into rx_event.
> vnet_event_napi() unrolls send_events() logic to process all rx_event bits.
> Changes since v5:
> Patch 1: use net_device.h definition for NAPI_POLL_WEIGHT.
> Drop sparclinux changes (patch3) per David Miller feedback
>
> 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"
> (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 leverages from the NAPIfied Rx path,
> dropping superfluous usage of the irqsave/irqrestores on the vio.lock
> where possible.
Series applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-25 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-25 19:11 [PATCHv6 net-next 0/3] sunvnet: NAPIfy sunvnet Sowmini Varadhan
2014-10-25 20:21 ` David Miller
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).