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 397B5A0C55; Wed, 13 Oct 2021 13:14:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACBC2410EB; Wed, 13 Oct 2021 13:14:50 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id B3BE1410DA for ; Wed, 13 Oct 2021 13:14:48 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 2B63F7F50A; Wed, 13 Oct 2021 14:14:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 2B63F7F50A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1634123688; bh=THUzbEcLnv1GHbT+xddJj0CkESlc3pi4rfdJLmfLbns=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=m/L7pWdQlPOzx8dWfm698yh6alVjdlC9YGgo6pDBT1Xkwc19oi25YCF/BzfFEBQGz acnv4uTD6/HAVXjwrdP8Ke/IhO71n6/V01SSTb+6zekOhWDjY9VovS7Ech+NzkvTmX kMP9H0+6PeRVNriu4kInH1ItLwTk71O1vQniV0kU= To: David Marchand Cc: Olivier Matz , Zoltan Kiss , dev , Ray Kinsella , Thomas Monjalon , Konstantin Ananyev , Honnappa Nagarahalli References: <20211013085723.1206789-1-andrew.rybchenko@oktetlabs.ru> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <907afae8-e860-be59-0cf0-6ddffbfa97ff@oktetlabs.ru> Date: Wed, 13 Oct 2021 14:14:48 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] mempool: fix name size in mempool 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" On 10/13/21 2:07 PM, David Marchand wrote: > On Wed, Oct 13, 2021 at 10:57 AM Andrew Rybchenko > wrote: >> >> Use correct define as a name array size. >> >> The change breaks ABI and therefore cannot be backported to >> stable branches. >> >> Fixes: 38c9817ee1d8 ("mempool: adjust name size in related data types") >> >> Signed-off-by: Andrew Rybchenko > > Reviewed-by: David Marchand > > Good catch, I guess we can clean ring too, quick grep: > > lib/ring/rte_ring_core.h-struct rte_ring { > lib/ring/rte_ring_core.h- /* > lib/ring/rte_ring_core.h: * Note: this field kept the > RTE_MEMZONE_NAMESIZE size due to ABI > lib/ring/rte_ring_core.h- * compatibility requirements, it > could be changed to RTE_RING_NAMESIZE > lib/ring/rte_ring_core.h: * next time the ABI changes > lib/ring/rte_ring_core.h- */ > lib/ring/rte_ring_core.h- char name[RTE_MEMZONE_NAMESIZE] > __rte_cache_aligned; > > Yes. I've not bothered to grep... Cc maintainers. @David, @Konstantin, or @Honnappa, will you send a patch or should I do?