]> git.baikalelectronics.ru Git - kernel.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)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 Jan 2020 18:41:30 +0000 (10:41 -0800)
commitcbd9f0119294350551a84cdd607d4c069f75e146
tree8bf674a2d5b8834d3d7811196aa2896746c4ce66
parent75ad11b680bdfa60a01d765de412f4c66013cb5e
net/mlx5: Use async EQ setup cleanup helpers for multiple EQs

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>
drivers/net/ethernet/mellanox/mlx5/core/eq.c