aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
diff options
context:
space:
mode:
authorJuliet Kim <julietk@linux.vnet.ibm.com>2018-11-19 15:59:22 -0600
committerDavid S. Miller <davem@davemloft.net>2018-11-19 18:56:31 -0800
commita5681e20b541a507c7d4fd48ae4a4040d32ee1ef (patch)
tree0b3ce2f2c3d4079e9c48f4579975d3d8a415908b /drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
parentMerge branch 'qed-Fix-Queue-Manager-getters' (diff)
downloadlinux-dev-a5681e20b541a507c7d4fd48ae4a4040d32ee1ef.tar.xz
linux-dev-a5681e20b541a507c7d4fd48ae4a4040d32ee1ef.zip
net/ibmnvic: Fix deadlock problem in reset
This patch changes to use rtnl_lock only during a reset to avoid deadlock that could occur when a thread operating close is holding rtnl_lock and waiting for reset_lock acquired by another thread, which is waiting for rtnl_lock in order to set the number of tx/rx queues during a reset. Also, we now setting the number of tx/rx queues during a soft reset for failover or LPM events. Signed-off-by: Juliet Kim <julietk@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c')
0 files changed, 0 insertions, 0 deletions