]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Use async EQ setup cleanup helpers for multiple EQs
authorParav Pandit <parav@mellanox.com>
Fri, 6 Dec 2019 21:13:41 +0000 (15:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Nov 2020 09:14:11 +0000 (10:14 +0100)
commit42bb7b7b9654ef45f5e6611714f724fdeb8adf5f
tree048e96099bef400c5e1e773bc4e766986f5b6bdf
parentb33905dc1ce55e5af610ba83d122a5b1da22c0b9
net/mlx5: Use async EQ setup cleanup helpers for multiple EQs

commit 3ed879965cc4ea13fe0908468b653c4ff2cb1309 upstream.

Use helper routines to setup and teardown multiple EQs and reuse the
code in setup, cleanup and error unwinding flows.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Cc: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/eq.c