Re: [PATCH v4] lib/hash: add defer queue reclaim API

2024-04-25 Thread Abdullah Ömer Yamaç
Thanks for the comments. This is due to the tab size, and I will fix them. On Wed, Apr 24, 2024 at 12:24 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Mon, 15 Apr 2024 11:26:02 + > Abdullah Ömer Yamaç wrote: > > > + ret = rte_rcu_qsbr_dq_reclaim(h->dq, > h->hash_rcu_cfg-

Re: [PATCH v4] lib/hash: add defer queue reclaim API

2024-04-23 Thread Stephen Hemminger
On Mon, 15 Apr 2024 11:26:02 + Abdullah Ömer Yamaç wrote: > + ret = rte_rcu_qsbr_dq_reclaim(h->dq, h->hash_rcu_cfg->max_reclaim_size, > + freed, > pending, available); Indention here is odd. I would expect "freed," to line up

Re: [PATCH v4] lib/hash: add defer queue reclaim API

2024-04-23 Thread Abdullah Ömer Yamaç
Hello, is there any other comment on this patch? Thanks On Mon, Apr 15, 2024 at 2:26 PM Abdullah Ömer Yamaç wrote: > This patch adds a new feature to the hash library to allow the user to > reclaim the defer queue. This is useful when the user wants to force > reclaim resources that are not bein