linux/drivers/net/ethernet/tile
Chris Metcalf 5e7a54a2a7 tile: fix panic bug in napi support for tilegx network driver
The code used to call napi_disable() in an interrupt handler
(from smp_call_function), which in turn could call msleep().
Unfortunately you can't sleep in an interrupt context.

Luckily it turns out all the NAPI support functions are
just operating on data structures and not on any deeply
per-cpu data, so we can arrange to set up and tear down all
the NAPI state on the core driving the process, and just
do the IRQ enable/disable as a smp_call_function thing.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-01 14:35:50 -07:00
..
Kconfig tilegx network driver: initial support 2012-06-11 17:01:26 -07:00
Makefile tilegx network driver: initial support 2012-06-11 17:01:26 -07:00
tilegx.c tile: fix panic bug in napi support for tilegx network driver 2013-08-01 14:35:50 -07:00
tilepro.c tile: remove dead is_dup_ack() function from tilepro net driver 2013-08-01 14:35:50 -07:00