Hi,

On 29/08/2025 8:35 AM, Rongwei Liu wrote:
With dedicated RDMA link monitor, there are two threads
which can update the IB device port information.

Add a new flag to avoid the race condition. Update should
go through RDMA link monitor once ready.

Current logic is:
1. Update all port information in probing thread.
2. Probe thread initiates the dedicated rdma monitor thread.
    Once ready, port information update will be handled by this thread.
3. Next probing won't trigger PMD port information update.

No lock is required.

Fixes: 51fb5c40c826 ("common/mlx5: optimize device probing")
Cc: rongw...@nvidia.com
Cc: sta...@dpdk.org
Signed-off-by: Rongwei Liu <rongw...@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to