]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge branch 'sunvnet-napi'
authorDavid S. Miller <davem@davemloft.net>
Sat, 25 Oct 2014 20:20:20 +0000 (16:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Oct 2014 20:20:20 +0000 (16:20 -0400)
commit9286ae01ac7669e1b0a56151a3132804ed82c3d4
tree5ebb758c58de5f7755aca98d23a1b34aa48defe4
parent132fb57984e4f4d49c79b2f0749236fe277de1f8
parent13b13dd97c3a45857b2b622add06b1c70b748abf
Merge branch 'sunvnet-napi'

Sowmini Varadhan says:

====================
sunvnet: NAPIfy sunvnet

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>