]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
authorIdo Schimmel <idosch@mellanox.com>
Wed, 10 Apr 2019 06:58:15 +0000 (06:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Apr 2019 18:57:08 +0000 (11:57 -0700)
commitcb820a57ad8326d5764ed10042a9ac4389a7cc92
treeab45542ee34375c8f9139d631fa58735a01f94ec
parentd2299d6d53d85a38d872bae66dc41398f18e7120
mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue

The workqueue is used to periodically update the networking stack about
activity / statistics of various objects such as neighbours and TC
actions.

It should not be called as part of memory reclaim path, so remove the
WQ_MEM_RECLAIM flag.

Fixes: cdeb12a1dacf ("mlxsw: core: Remove deprecated create_workqueue")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c