DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Isaac Boukris <iboukris@gmail.com>
Cc: "Honnappa Nagarahalli" <honnappa.nagarahalli@arm.com>,
	dev@dpdk.org, "Wathsala Vithanage" <wathsala.vithanage@arm.com>,
	"Morten Brørup" <mb@smartsharesystems.com>,
	"Konstantin Ananyev" <konstantin.ananyev@huawei.com>
Subject: Re: [PATCH v3] lib/ring: do not allow zero size ring
Date: Tue, 11 Nov 2025 13:25:39 +0100	[thread overview]
Message-ID: <4378849.kIdP2CnQM6@thomas> (raw)
In-Reply-To: <e7fd8bbd16d94544aaae9507cece72ba@huawei.com>

11/11/2025 09:24, Konstantin Ananyev:
> 
> > this might happen when for instance the ring size is read from
> > config, and would cause runtime crash. Do so by using the
> > RTE_IS_POWER_OF_2 macro.
> > 
> > Signed-off-by: Isaac Boukris <iboukris@gmail.com>
> > Acked-by: Wathsala Vithanage <wathsala.vithanage@arm.com>
> > Acked-by: Morten Brørup <mb@smartsharesystems.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>

Applied, thanks.



      reply	other threads:[~2025-11-11 12:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-10 22:28 [PATCH] " Isaac Boukris
2025-11-10 23:15 ` [PATCH v2] " Isaac Boukris
2025-11-10 23:26   ` Wathsala Vithanage
2025-11-11  0:40   ` Morten Brørup
2025-11-11  6:22 ` [PATCH v3] " Isaac Boukris
2025-11-11  8:24   ` Konstantin Ananyev
2025-11-11 12:25     ` Thomas Monjalon [this message]

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=4378849.kIdP2CnQM6@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=iboukris@gmail.com \
    --cc=konstantin.ananyev@huawei.com \
    --cc=mb@smartsharesystems.com \
    --cc=wathsala.vithanage@arm.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).