DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Abdullah Ömer Yamaç" <aomeryamac@gmail.com>
To: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"stable@dpdk.org" <stable@dpdk.org>,
	 Dharmik Jayesh Thakkar <DharmikJayesh.Thakkar@arm.com>,
	Yipeng Wang <yipeng1.wang@intel.com>,
	 Sameh Gobriel <sameh.gobriel@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	 Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
	nd <nd@arm.com>
Subject: Re: [PATCH v2] lib/hash: Set the maximum reclamation size to user provided value
Date: Mon, 13 May 2024 18:22:33 +0300	[thread overview]
Message-ID: <CA+sj1i-8fkRT7pk4MpKCW69frzX+pqKZzNzEUkVV1Aq=8_qA=g@mail.gmail.com> (raw)
In-Reply-To: <B4307332-CB84-4919-8EC5-97D17347157B@arm.com>

[-- Attachment #1: Type: text/plain, Size: 2137 bytes --]

Hello,
I saw two comments, and the first one
" Please add:
stable@dpdk.org to the Cc list" then I added stable@dpdk.org to Cc. Would
you like me to add it to the commit?

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.

Do I miss something else?


On Mon, May 13, 2024 at 5:34 PM Honnappa Nagarahalli <
Honnappa.Nagarahalli@arm.com> 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ç <aomeryamac@gmail.com>
> 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: dharmik.thakkar@arm.com
> > Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
> > Cc: Yipeng Wang <yipeng1.wang@intel.com>
> > Cc: Sameh Gobriel <sameh.gobriel@intel.com>
> > Cc: Bruce Richardson <bruce.richardson@intel.com>
> > Cc: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
> >
> > Signed-off-by: Abdullah Ömer Yamaç <aomeryamac@gmail.com>
> > ---
> > 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
> >
>
>

[-- Attachment #2: Type: text/html, Size: 3404 bytes --]

  reply	other threads:[~2024-05-13 15:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 13:39 [PATCH] lib/hash: setting the maximum reclamation size Abdullah Ömer Yamaç
2024-04-23 13:51 ` Abdullah Ömer Yamaç
2024-05-10  3:08   ` Abdullah Ömer Yamaç
2024-05-13  5:29 ` Honnappa Nagarahalli
2024-05-13 10:00   ` [PATCH v2] lib/hash: Set the maximum reclamation size to user provided value Abdullah Ömer Yamaç
2024-05-13 14:34     ` Honnappa Nagarahalli
2024-05-13 15:22       ` Abdullah Ömer Yamaç [this message]
2024-05-13 16:17         ` Honnappa Nagarahalli
2024-05-13 16:35           ` [PATCH v3] lib/hash: setting the maximum reclamation size Abdullah Ömer Yamaç
2024-05-14 20:52             ` Honnappa Nagarahalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+sj1i-8fkRT7pk4MpKCW69frzX+pqKZzNzEUkVV1Aq=8_qA=g@mail.gmail.com' \
    --to=aomeryamac@gmail.com \
    --cc=DharmikJayesh.Thakkar@arm.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=nd@arm.com \
    --cc=sameh.gobriel@intel.com \
    --cc=stable@dpdk.org \
    --cc=vladimir.medvedkin@intel.com \
    --cc=yipeng1.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).