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 C6EF0A034F; Thu, 14 Oct 2021 22:55:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AD6D40041; Thu, 14 Oct 2021 22:55:58 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 2A6974003C for ; Thu, 14 Oct 2021 22:55:57 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6878D11D4; Thu, 14 Oct 2021 13:55:56 -0700 (PDT) Received: from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com [10.118.12.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 566393F694; Thu, 14 Oct 2021 13:55:56 -0700 (PDT) From: Honnappa Nagarahalli To: dev@dpdk.org, honnappa.nagarahalli@arm.com, andrew.rybchenko@oktetlabs.ru, konstantin.ananyev@intel.com Cc: nd@arm.com, zoltan.kiss@schaman.hu Date: Thu, 14 Oct 2021 15:55:50 -0500 Message-Id: <20211014205550.10140-1-honnappa.nagarahalli@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] ring: fix size of name array in ring structure 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 Sender: "dev" Use correct define for the name array size. The change breaks ABI and hence cannot be backported to stable branches. Fixes: 38c9817ee1d8 ("mempool: adjust name size in related data types") Cc: zoltan.kiss@schaman.hu Signed-off-by: Honnappa Nagarahalli --- lib/ring/rte_ring_core.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/ring/rte_ring_core.h b/lib/ring/rte_ring_core.h index 31f7200fa9..46ad584f9c 100644 --- a/lib/ring/rte_ring_core.h +++ b/lib/ring/rte_ring_core.h @@ -118,12 +118,7 @@ struct rte_ring_hts_headtail { * a problem. */ struct rte_ring { - /* - * Note: this field kept the RTE_MEMZONE_NAMESIZE size due to ABI - * compatibility requirements, it could be changed to RTE_RING_NAMESIZE - * next time the ABI changes - */ - char name[RTE_MEMZONE_NAMESIZE] __rte_cache_aligned; + char name[RTE_RING_NAMESIZE] __rte_cache_aligned; /**< Name of the ring. */ int flags; /**< Flags supplied at creation. */ const struct rte_memzone *memzone; -- 2.25.1