]> git.baikalelectronics.ru Git - kernel.git/commit
sunvnet: Remove irqsave/irqrestore on vio.lock
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Sat, 25 Oct 2014 19:12:31 +0000 (15:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Oct 2014 20:20:16 +0000 (16:20 -0400)
commitba8cdf909aed2074cbc6c0e0dcd85c8b92f23237
tree5ebb758c58de5f7755aca98d23a1b34aa48defe4
parentb14efb76383500d60b7834f6991018a28d0a5065
sunvnet: Remove irqsave/irqrestore on vio.lock

After the  NAPIfication of sunvnet, we no longer need to
synchronize by doing irqsave/restore on vio.lock in the
I/O fastpath.

NAPI ->poll() is non-reentrant, so all RX processing occurs
strictly in a serialized environment. TX reclaim is done in NAPI
context, so the netif_tx_lock can be used to serialize
critical sections between Tx and Rx paths.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c