All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,
	Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
Cc: "Morten Brørup" <mb@smartsharesystems.com>, dev@dpdk.org
Subject: ring name size
Date: Mon, 04 Sep 2023 11:30:47 +0200	[thread overview]
Message-ID: <2838948.yaVYbkx8dN@thomas> (raw)

Hello,

When creating a ring, we need to know the maximum length of the name.
It seems this value is not documented.
And there is no constant defined.
There is only RTE_MEMZONE_NAMESIZE.

Should we document the maximum length as 31 and add a constant?
#define RTE_RING_NAME_SIZE RTE_MEMZONE_NAMESIZE



             reply	other threads:[~2023-09-04  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-04  9:30 Thomas Monjalon [this message]
2023-09-04  9:33 ` ring name size Morten Brørup
2023-09-04 13:04   ` Thomas Monjalon

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=2838948.yaVYbkx8dN@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=konstantin.v.ananyev@yandex.ru \
    --cc=mb@smartsharesystems.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.