diff options
| author | Bob Pearson <rpearsonhpe@gmail.com> | 2023-06-20 16:55:19 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-07-31 21:24:12 +0300 |
| commit | e0ba8ff46704fc924e2ef0451ba196cbdc0d68f2 (patch) | |
| tree | 7a87a58e16b4f88417bad43ddc30ab9317fc6280 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 272bba19d631e21e47f6ffa5654d3c17c57ea2ac (diff) | |
| download | linux-e0ba8ff46704fc924e2ef0451ba196cbdc0d68f2.tar.xz | |
RDMA/rxe: Move work queue code to subroutines
This patch:
- Moves code to initialize a qp send work queue to a
subroutine named rxe_init_sq.
- Moves code to initialize a qp recv work queue to a
subroutine named rxe_init_rq.
- Moves initialization of qp request and response packet
queues ahead of work queue initialization so that cleanup
of a qp if it is not fully completed can successfully
attempt to drain the packet queues without a seg fault.
- Makes minor whitespace cleanups.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Link: https://lore.kernel.org/r/20230620135519.9365-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
