> On May 13, 2024, at 10:22 AM, Abdullah Ömer Yamaç <[email protected]> 
> wrote:
> 
> Hello,
> I saw two comments, and the first one 
> " Please add:
> [email protected] to the Cc list" then I added [email protected] to Cc. Would you 
> like me to add it to the commit?
I thought it needs to be added to the commit message as per contributing 
guidelines [1].

[1] 
https://doc.dpdk.org/guides/contributing/patches.html#patch-for-stable-releases
> 
> Second one :
> “Set the maximum reclamation size to user provided value”  I set this comment 
> to the header. I thought it was more meaningful in the header. If you want 
> also, I can insert it in the description part.
I meant that we should simplify the long commit message.

> 
> Do I miss something else?
> 
> 
> On Mon, May 13, 2024 at 5:34 PM Honnappa Nagarahalli 
> <[email protected]> wrote:
> Hi Abdullah,
>         I do not see the changes I suggested in this version.
> 
> > On May 13, 2024, at 5:00 AM, Abdullah Ömer Yamaç <[email protected]> 
> > wrote:
> > 
> > In the previous implementation, the maximum reclamation size was set
> > to RTE_HASH_RCU_DQ_RECLAIM_MAX and it was not configurable. This patch
> > uses the configuration argument to set the maximum reclamation size.
> > 
> > Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation")
> > Cc: [email protected]
> > Cc: Honnappa Nagarahalli <[email protected]>
> > Cc: Yipeng Wang <[email protected]>
> > Cc: Sameh Gobriel <[email protected]>
> > Cc: Bruce Richardson <[email protected]>
> > Cc: Vladimir Medvedkin <[email protected]>
> > 
> > Signed-off-by: Abdullah Ömer Yamaç <[email protected]>
> > ---
> > lib/hash/rte_cuckoo_hash.c | 1 +
> > 1 file changed, 1 insertion(+)
> > 
> > diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
> > index 9cf94645f6..f7f0fdfd21 100644
> > --- a/lib/hash/rte_cuckoo_hash.c
> > +++ b/lib/hash/rte_cuckoo_hash.c
> > @@ -1557,6 +1557,7 @@ rte_hash_rcu_qsbr_add(struct rte_hash *h, struct 
> > rte_hash_rcu_config *cfg)
> > if (params.size == 0)
> > params.size = total_entries;
> > params.trigger_reclaim_limit = cfg->trigger_reclaim_limit;
> > + params.max_reclaim_size = cfg->max_reclaim_size;
> > if (params.max_reclaim_size == 0)
> > params.max_reclaim_size = RTE_HASH_RCU_DQ_RECLAIM_MAX;
> > params.esize = sizeof(struct __rte_hash_rcu_dq_entry);
> > -- 
> > 2.34.1
> > 
> 

Reply via email to