Re: [ovs-dev] [PATCH] ofproto-dpif-rid: Fix duplicate entries.

2024-04-29 Thread Eelco Chaudron
On 27 Apr 2024, at 11:00, wushao...@chinatelecom.cn wrote: > From: Shaohua Wu > > In scenarios with multiple PMDs, there may be > simultaneous requests for recirc_id from multiple > PMD threads.In recirc_alloc_id_ctx, we first check > if there is a duplicate entry in the metadata_map > for the

[ovs-dev] [PATCH] ofproto-dpif-rid: Fix duplicate entries.

2024-04-27 Thread wushaohua
From: Shaohua Wu In scenarios with multiple PMDs, there may be simultaneous requests for recirc_id from multiple PMD threads.In recirc_alloc_id_ctx, we first check if there is a duplicate entry in the metadata_map for the same frozen_state field. If successful, we directly retrieve the