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

The EMAD workqueue is used to handle retransmission of EMAD packets that
contain configuration data for the device's firmware.

Given the workers need to allocate these packets and that the code is
not called as part of memory reclaim path, remove the WQ_MEM_RECLAIM
flag.

Fixes: e0b3555def47 ("mlxsw: core: Fix possible deadlock")
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