]> 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)
commitc878acb659cde6f51f211cce885cd567080fbd97
treeed2c2a01909e9cb3377d5e5130cdcf2e3a400b53
parent01752e0dfb939b1f250a21050efb689152f99809
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: 515e56d8e24c ("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