From: "Medvedkin, Vladimir" <vladimir.medvedkin@intel.com>
To: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>, <dev@dpdk.org>
Subject: Re: [PATCH] fib: fix name of main TRIE instance memory region
Date: Fri, 5 Jun 2026 14:07:11 +0100 [thread overview]
Message-ID: <c6c8f711-7efc-4276-8bb9-9b3cf7948906@intel.com> (raw)
In-Reply-To: <20260316130531.1671904-1-andrew.rybchenko@oktetlabs.ru>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
On 3/16/2026 1:05 PM, Andrew Rybchenko wrote:
> mem_name was built, but not used when memory is allocated.
>
> Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")
> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> ---
> lib/fib/trie.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/fib/trie.c b/lib/fib/trie.c
> index fa5d9ec6b0..cd61446dd3 100644
> --- a/lib/fib/trie.c
> +++ b/lib/fib/trie.c
> @@ -678,7 +678,7 @@ trie_create(const char *name, int socket_id,
> num_tbl8 = conf->trie.num_tbl8;
>
> snprintf(mem_name, sizeof(mem_name), "DP_%s", name);
> - dp = rte_zmalloc_socket(name, sizeof(struct rte_trie_tbl) +
> + dp = rte_zmalloc_socket(mem_name, sizeof(struct rte_trie_tbl) +
> TRIE_TBL24_NUM_ENT * (1 << nh_sz) + sizeof(uint32_t),
> RTE_CACHE_LINE_SIZE, socket_id);
> if (dp == NULL) {
--
Regards,
Vladimir
prev parent reply other threads:[~2026-06-05 13:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 13:05 [PATCH] fib: fix name of main TRIE instance memory region Andrew Rybchenko
2026-03-16 15:30 ` Stephen Hemminger
2026-03-16 16:06 ` Andrew Rybchenko
2026-06-05 13:07 ` Medvedkin, Vladimir [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=c6c8f711-7efc-4276-8bb9-9b3cf7948906@intel.com \
--to=vladimir.medvedkin@intel.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.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