Re: [PATCH v3 for-next] RDMA/hns: Fix different dgids mapping to the same dip_idx

From: Leon Romanovsky
Date: Thu Nov 14 2024 - 04:59:02 EST



On Tue, 12 Nov 2024 13:55:53 +0800, Junxian Huang wrote:
> DIP algorithm requires a one-to-one mapping between dgid and dip_idx.
> Currently a queue 'spare_idx' is used to store QPN of QPs that use
> DIP algorithm. For a new dgid, use a QPN from spare_idx as dip_idx.
> This method lacks a mechanism for deduplicating QPN, which may result
> in different dgids sharing the same dip_idx and break the one-to-one
> mapping requirement.
>
> [...]

Applied, thanks!

[1/1] RDMA/hns: Fix different dgids mapping to the same dip_idx
https://git.kernel.org/rdma/rdma/c/faa62440a5772b

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>