summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_red.c
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-06-07 21:59:46 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-10 08:49:43 +0200
commit3d5479e92087f6249231e26a2d7327e86a8d0dfc (patch)
tree44b4b323b47a4322c46bbae7461faef06590d0fe /net/sched/sch_red.c
parentnet: cavium: liquidio: Remove deprecated create_workqueue (diff)
downloadlinux-3d5479e92087f6249231e26a2d7327e86a8d0dfc.tar.xz
linux-3d5479e92087f6249231e26a2d7327e86a8d0dfc.zip
mlxsw: core: Remove deprecated create_workqueue
alloc_workqueue replaces deprecated create_workqueue(). A dedicated workqueue has been used since the workqueue mlxsw_wq is used for FDB notif. processing with workitems that are involved in normal device operation && because it's a network device which can be depended upon during memory reclaim. Workitems &trans->timeout_dw and &mlxsw_sp->fdb_notify.dw, map to mlxsw_sp_fdb_notify_work (processes FDB notifications from the underlying device and resolves the netdev to which the entry points to and notifies the bridge using the switchdev notifier) and mlxsw_emad_trans_timeout_work (provides async EMAD register access) respectively. They require forward progress under memory pressure and hence, WQ_MEM_RECLAIM has been set. Since there are only a fixed number of work items, explicit concurrency limit is unnecessary here. Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Tested-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_red.c')
0 files changed, 0 insertions, 0 deletions