2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/net/fjes
Bhaktipriya Shridhar f2edc4e1b0 net: fjes: fjes_main: Remove create_workqueue
alloc_workqueue replaces deprecated create_workqueue().

The workqueue adapter->txrx_wq has workitem
&adapter->raise_intr_rxdata_task per adapter. Extended Socket Network
Device is shared memory based, so someone's transmission denotes other's
reception.  raise_intr_rxdata_task raises interruption of receivers from
the sender in order to notify receivers.

The workqueue adapter->control_wq has workitem
&adapter->interrupt_watch_task per adapter. interrupt_watch_task is used
to prevent delay of interrupts.

Dedicated workqueues have been used in both cases since the workitems
on the workqueues are involved in normal device operation and require
forward progress under memory pressure.

max_active has been set to 0 since there is no need for throttling
the number of active work items.

Since network devices  may be used for memory reclaim,
WQ_MEM_RECLAIM has been set to guarantee forward progress.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-03 19:29:42 -04:00
..
fjes_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
fjes_hw.c fjes: Introduce spinlock for rx_status 2016-04-16 21:51:01 -04:00
fjes_hw.h fjes: Introduce spinlock for rx_status 2016-04-16 21:51:01 -04:00
fjes_main.c net: fjes: fjes_main: Remove create_workqueue 2016-06-03 19:29:42 -04:00
fjes_regs.h fjes: net_device_ops.ndo_open and .ndo_stop 2015-08-24 14:06:34 -07:00
fjes.h fjes: ethtool support 2015-08-24 14:06:37 -07:00
Makefile fjes: ethtool support 2015-08-24 14:06:37 -07:00