From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A3D9E424F0; Mon, 4 Sep 2023 15:04:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8399C402BC; Mon, 4 Sep 2023 15:04:28 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id E59C1402C1 for ; Mon, 4 Sep 2023 15:04:26 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A993332001E9; Mon, 4 Sep 2023 09:04:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 04 Sep 2023 09:04:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1693832663; x=1693919063; bh=UNx7IWnImWpDlajWl8CRXO3r3kbb/vibfQB Pw7DG2AM=; b=hp0YpckeiSA9U6/q9zqrLh12oDMi8gRgDiJkmTroePStJ+AJrVb ZK5n2xm57XSgVKaAV5MUPU4STi4YWQSpkjkiBEYWmCILeExJ/UAo62M0hln1jtyR kjW3GNzy3tMvo9BpMuGRRJcg7w+CNjsVUCyGnrn8k+UObbtvUd031W4A58uPMmwP +2rjR28pXyCJW6z8S8AycXp+K33vrZnOzk5BW3ev/qxYVEM71mRk43FBrHR/oser UJGjotej8zzbSjQQDW75BeE8q/WEV3QXxzWi7pVOmaWcH58l/Don8/JnT3uRh6KO /VEMEpUxttcVJKjPVoVHp/k+bZX/6qtbTiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693832663; x=1693919063; bh=UNx7IWnImWpDlajWl8CRXO3r3kbb/vibfQB Pw7DG2AM=; b=aPR8iByHxZKJ8ii6b3KYUwdS55aAnRhgOHmcYNOe0XhA+QOpFbg Z5bW+kusmrU/ncmITb17REpQh70psll8nIzWdisGxyBkafjJDrRgaonUu/z+SoSN 3kK5dNbJG9Re45MCbpLl709VwYs2my1cIYaX0+LMS6ErBE2f1UwD0nbyRAnhoy0H ACsVWZNadojz/kfzsn0CbSoOIOoVs7u8MgfIe+POwbwB851cR+9QhwBelCSXKvLl gWhWs+jf5cPLWB+nPAkKpkRVEzCoEYTa3P6QHVj4sYYGTzXyGATqZymj2P6HRMXT PX+9A4CLfWiFAwIeEQsHs2lgsGrPVv98y2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudegkedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtudenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeetvdeggffftdfhkeffudfhveeugeeuleeutdeljeejkeelleff uddtkeehieekgeenucffohhmrghinhepsghoohhtlhhinhdrtghomhenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj rghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Sep 2023 09:04:21 -0400 (EDT) From: Thomas Monjalon To: Honnappa Nagarahalli , Konstantin Ananyev , Morten =?ISO-8859-1?Q?Br=F8rup?= Cc: dev@dpdk.org Subject: Re: ring name size Date: Mon, 04 Sep 2023 15:04:20 +0200 Message-ID: <1740776.vCJZsxu672@thomas> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87B6C@smartserver.smartshare.dk> References: <2838948.yaVYbkx8dN@thomas> <98CBD80474FA8B44BF855DF32C47DC35D87B6C@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 04/09/2023 11:33, Morten Br=F8rup: > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > Sent: Monday, 4 September 2023 11.31 > >=20 > > Hello, > >=20 > > 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. >=20 > It is defined (with a description) here: > https://elixir.bootlin.com/dpdk/latest/source/lib/ring/rte_ring_core.h#L52 Indeed, thank you Morten. I missed it when looking simply at rte_ring.h. So we are just missing to mention it in the doxygen of the related function= s. > > There is only RTE_MEMZONE_NAMESIZE. > >=20 > > Should we document the maximum length as 31 and add a constant? > > #define RTE_RING_NAME_SIZE RTE_MEMZONE_NAMESIZE