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 3FCCA4253E; Fri, 8 Sep 2023 06:00:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2775A40285; Fri, 8 Sep 2023 06:00:49 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id D747940042 for ; Fri, 8 Sep 2023 06:00:47 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 0C4F9212B5D1; Thu, 7 Sep 2023 21:00:47 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0C4F9212B5D1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1694145647; bh=MwEA7+IV+Y4Y36/bdyC/ajBpjlwwnyLOfYLTNPfzVP0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B0OfGJqpe37HjdF+IBpUNCEkLVnEMF0Fk5UDa9ridyBGfjJostagL2Ircsrofw2p1 UYsrC/bfKH0pq16SmGZg4wY6rNkx/aIrA6PK3qojiI0CrrGJBCSfGDlux/jjN9AHcf tIc9xR+GamAtZse3x6xVP9A6EwWuVNrB7N4ksry0= Date: Thu, 7 Sep 2023 21:00:47 -0700 From: Tyler Retzlaff To: Thomas Monjalon Cc: dev@dpdk.org, David Marchand , Ferruh Yigit , Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam Subject: Re: [PATCH 02/11] eal: rename thread name length definition Message-ID: <20230908040046.GA7692@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230906162226.1618088-1-thomas@monjalon.net> <20230906162226.1618088-3-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230906162226.1618088-3-thomas@monjalon.net> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Wed, Sep 06, 2023 at 06:12:19PM +0200, Thomas Monjalon wrote: > RTE_MAX_THREAD_NAME_LEN is including the NUL character, > so it should be named "size" instead of "length". > A new constant RTE_THREAD_NAME_SIZE is introduced for naming accuracy. > For API compatibility, the old name is kept. > > At the same time, the original definition is moved > from rte_eal.h to rte_thread.h. > > Signed-off-by: Thomas Monjalon > --- lgtm Acked-by: Tyler Retzlaff