diff options
author | 2022-09-29 00:21:56 -0700 | |
---|---|---|
committer | 2022-09-30 07:55:48 -0700 | |
commit | 8f5ed1c140f8437be2881e4388d7ecfdb9a9b5ec (patch) | |
tree | e3d7cde0ae81680523b125bf9bff89aca1f34e50 /net/lapb/lapb_subr.c | |
parent | net/mlx5e: Move repeating clear_bit in mlx5e_rx_reporter_err_rq_cqe_recover (diff) | |
download | linux-rng-8f5ed1c140f8437be2881e4388d7ecfdb9a9b5ec.tar.xz linux-rng-8f5ed1c140f8437be2881e4388d7ecfdb9a9b5ec.zip |
net/mlx5e: Clean up and fix error flows in mlx5e_alloc_rq
Although mlx5e_rq_free_shampo can be called unconditionally, it belongs
to case MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ. Move it there to allow to
add more init/cleanup actions to the striding RQ case.
If xdp_rxq_info_reg_mem_model fails, don't forget to destroy the page
pool.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions