enc28j60: use netif_rx_ni() to deliver RX packets
authorBaruch Siach <baruch@tkos.co.il>
Mon, 15 Dec 2008 20:18:52 +0000 (20:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 09:48:29 +0000 (01:48 -0800)
commit2c413a6434dca02387a263dc4ca8009692421998
treeac684707490d56c511cd46129e3a64df7943bb2f
parent8953f1282793882a5444924f7a273dc72a43d0a3
enc28j60: use netif_rx_ni() to deliver RX packets

The enc28j60 driver reads incoming packets in the process (workqueue) context,
not in a tasklet or the interrupt context.  Thus, we should use netif_rx_ni()
to deliver those packets to the networking layer, instead of netif_rx(). This
way incoming packets don't wait in the incoming queue for the next IRQ to be
serviced.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enc28j60.c