diff options
| author | Ruoyu Wang <ruoyuw560@gmail.com> | 2026-06-30 14:00:40 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-07-02 14:37:03 -0300 |
| commit | bb27fcc67c429d97f785c92c35a6c5adebb05d7f (patch) | |
| tree | d4d503a283c257d6ee11f64b009ac14594c69c22 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git | |
| parent | 9f0f2d2121f16d420199a82ac5bbc242269133b3 (diff) | |
RDMA/siw: publish QP after initialization
siw_create_qp() currently calls siw_qp_add() before the queues, CQ
pointers, state, completion, and device list entry are ready. A QPN
lookup can therefore reach a QP that is still being constructed.
Move siw_qp_add() to the end of siw_create_qp(), after QP
initialization and before adding the QP to the siw device list.
Fixes: f29dd55b0236 ("rdma/siw: queue pair methods")
Link: https://patch.msgid.link/r/20260630060040.966461-1-ruoyuw560@gmail.com
Suggested-by: Bernard Metzler <bernard.metzler@linux.dev>
Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Acked-by: Bernard Metzler <bernard.metzler@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
