On Fri, 13 Feb 2026 12:57:36 +0200, Leon Romanovsky wrote:
> Unify CQ UMEM creation, resize and release in ib_core to avoid the need
> for complex driver-side handling. This lets us rely on the internal
> reference counters of the relevant ib_XXX objects to manage UMEM
> lifetime safely and consistently.
> 
> The resize cleanup made it clear that most drivers never handled this
> path correctly, and there's a good chance the functionality was never
> actually used. The most common issue was relying on the cq->resize_umem
> pointer to detect races with other CQ commands, without clearing it on
> errors and while ignoring proper locking for other CQ operations.
> 
> [...]

Applied, thanks!

[01/50] RDMA: Move DMA block iterator logic into dedicated files
        (no commit info)
[02/50] RDMA/umem: Allow including ib_umem header from any location
        (no commit info)
[03/50] RDMA/umem: Remove unnecessary includes and defines from ib_umem header
        (no commit info)
[04/50] RDMA/core: Promote UMEM to a core component
        (no commit info)
[05/50] RDMA/core: Manage CQ umem in core code
        (no commit info)
[06/50] RDMA/efa: Rely on CPU address in create‑QP
        (no commit info)
[07/50] RDMA/core: Prepare create CQ path for API unification
        (no commit info)
[08/50] RDMA/core: Reject zero CQE count
        (no commit info)
[09/50] RDMA/efa: Remove check for zero CQE count
        (no commit info)
[10/50] RDMA/mlx5: Save 4 bytes in CQ structure
        (no commit info)
[11/50] RDMA/mlx5: Provide a modern CQ creation interface
        (no commit info)
[12/50] RDMA/mlx4: Inline mlx4_ib_get_cq_umem into callers
        (no commit info)
[13/50] RDMA/mlx4: Introduce a modern CQ creation interface
        (no commit info)
[14/50] RDMA/mlx4: Remove unused create_flags field from CQ structure
        (no commit info)

Best regards,
-- 
Leon Romanovsky <[email protected]>


Reply via email to