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:25 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-24 23:06:34 +0200
commitb772b9dc63df0ca8a750ceac9ab356376022f0b6 (patch)
treece11cedba5d6f092c964b875f81738875953edee /drivers/net/fjes/fjes.h
parentfjes: net_device_ops.ndo_start_xmit (diff)
downloadlinux-b772b9dc63df0ca8a750ceac9ab356376022f0b6.tar.xz
linux-b772b9dc63df0ca8a750ceac9ab356376022f0b6.zip
fjes: raise_intr_rxdata_task
This patch add raise_intr_rxdata_task. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. In order to notify receivers, sender has to raise interruption of receivers. raise_intr_rxdata_task does this work. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/fjes/fjes.h b/drivers/net/fjes/fjes.h
index 7af4304f5425..8e9899ea1993 100644
--- a/drivers/net/fjes/fjes.h
+++ b/drivers/net/fjes/fjes.h
@@ -50,6 +50,10 @@ struct fjes_adapter {
bool irq_registered;
+ struct workqueue_struct *txrx_wq;
+
+ struct work_struct raise_intr_rxdata_task;
+
struct fjes_hw hw;
};