summaryrefslogtreecommitdiffstats
path: root/drivers/net/fjes/fjes.h
diff options
context:
space:
mode:
authorTaku Izumi <izumi.taku@jp.fujitsu.com>2015-08-21 10:29:32 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-24 23:06:36 +0200
commit8edb62a8131ca5b5ecbb29e45d812d9583585afb (patch)
tree6bbb849e4b377f358a6d1f1b660e1f4c129c4ad1 /drivers/net/fjes/fjes.h
parentfjes: net_device_ops.ndo_vlan_rx_add/kill_vid (diff)
downloadlinux-8edb62a8131ca5b5ecbb29e45d812d9583585afb.tar.xz
linux-8edb62a8131ca5b5ecbb29e45d812d9583585afb.zip
fjes: interrupt_watch_task
This patch adds interrupt_watch_task. This task is used to prevent delay of interrupts. Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fjes/fjes.h')
-rw-r--r--drivers/net/fjes/fjes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes/fjes.h
index b04ea9dcab43..1743dbb83e5b 100644
--- a/drivers/net/fjes/fjes.h
+++ b/drivers/net/fjes/fjes.h
@@ -32,6 +32,7 @@
#define FJES_TX_RETRY_TIMEOUT (100)
#define FJES_TX_TX_STALL_TIMEOUT (FJES_TX_RETRY_INTERVAL / 2)
#define FJES_OPEN_ZONE_UPDATE_WAIT (300) /* msec */
+#define FJES_IRQ_WATCH_DELAY (HZ)
/* board specific private data structure */
struct fjes_adapter {
@@ -52,10 +53,14 @@ struct fjes_adapter {
bool irq_registered;
struct workqueue_struct *txrx_wq;
+ struct workqueue_struct *control_wq;
struct work_struct tx_stall_task;
struct work_struct raise_intr_rxdata_task;
+ struct delayed_work interrupt_watch_task;
+ bool interrupt_watch_enable;
+
struct fjes_hw hw;
};