Re: [PATCH v2] IB/mlx4: delete allocated id_map_entry while sending REJ
From: Leon Romanovsky
Date: Mon Jul 13 2026 - 04:43:34 EST
On Mon, 15 Jun 2026 17:17:59 +0000, Praveen Kumar Kannoju wrote:
> The mlx4 CM paravirtualization layer rewrites a VF's local
> communication ID to a PF-visible ID when CM MADs are sent from the VF.
> For messages that start or advance a connection from the VF side, such
> as REQ, REP, MRA and SIDR_REQ, mlx4_ib_multiplex_cm_handler() allocates
> an id_map_entry when no existing mapping is found.
>
> A REJ is different because it is a terminal response to an already known
> exchange. It should either find an existing id_map_entry, rewrite the
> local communication ID, and schedule that entry for deletion, or it
> should pass through unchanged when no mapping exists.
>
> [...]
Applied, thanks!
[1/1] IB/mlx4: delete allocated id_map_entry while sending REJ
https://git.kernel.org/rdma/rdma/c/9539e619660471
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>