DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Morten Brørup" <mb@smartsharesystems.com>
To: "Stephen Hemminger" <stephen@networkplumber.org>, <dev@dpdk.org>
Subject: RE: [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size
Date: Fri, 16 Oct 2026 22:13:53 +0200	[thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F65AB9@smartserver.smartshare.dk> (raw)
In-Reply-To: <20261016153949.2965592-2-stephen@networkplumber.org>

> @@ -154,7 +154,7 @@ cperf_alloc_common_memory(const struct
> cperf_options *options,
> 
>  	if (cperf_is_asym_test(options)) {
>  		crypto_op_size += sizeof(struct rte_crypto_asym_op);
> -		snprintf(pool_name, RTE_MEMPOOL_NAMESIZE,
> "perf_asym_op_pool%u",
> +		snprintf(pool_name, sizeof(pool_name),
> "perf_asym_op_pool%u",
>  			 rte_socket_id());
>  		*pool = rte_crypto_op_pool_create(
>  			pool_name, RTE_CRYPTO_OP_TYPE_ASYMMETRIC,

snprintf() doesn't ensure zero-terminated string.
Not new, and don't know if it matters; just mentioning it.

Acked-by: Morten Brørup <mb@smartsharesystems.com>


  reply	other threads:[~2026-10-16 20:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 21:57 [PATCH] eal: increase memzone name size to 64 Stephen Hemminger
2026-09-22 10:42 ` Morten Brørup
2026-10-13  9:01   ` Thomas Monjalon
2026-09-22 15:52 ` [PATCH v2 0/3] increase memzone name size and fix rib/fib prefixes Stephen Hemminger
2026-09-22 15:52   ` [PATCH v2 1/3] app/crypto-perf: fix asymmetric op pool name size Stephen Hemminger
2026-09-22 18:25     ` [EXTERNAL] " Akhil Goyal
2026-09-22 15:52   ` [PATCH v2 2/3] eal: increase memzone name size to 64 Stephen Hemminger
2026-10-13  9:02     ` Thomas Monjalon
2026-09-22 15:52   ` [PATCH v2 3/3] fib, rib: fix name prefixes Stephen Hemminger
2026-09-22 19:46     ` Medvedkin, Vladimir
2026-10-16 15:38 ` [PATCH v3 0/3] increase memzone name size and fix rib/fib prefix Stephen Hemminger
2026-10-16 15:38   ` [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size Stephen Hemminger
2026-10-16 20:13     ` Morten Brørup [this message]
2026-10-16 15:38   ` [PATCH v3 2/3] eal: increase memzone name size to 64 Stephen Hemminger
2026-10-16 20:11     ` Morten Brørup
2026-10-16 15:38   ` [PATCH v3 3/3] fib, rib: fix name prefixes Stephen Hemminger

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=98CBD80474FA8B44BF855DF32C47DC35F65AB9@smartserver.smartshare.dk \
    --to=mb@smartsharesystems.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /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