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 0A886A0547; Tue, 19 Oct 2021 18:14:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5DA741101; Tue, 19 Oct 2021 18:14:45 +0200 (CEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id 07394410FC for ; Tue, 19 Oct 2021 18:14:45 +0200 (CEST) Received: by mail-wm1-f49.google.com with SMTP id n40-20020a05600c3ba800b0030da2439b21so3736592wms.0 for ; Tue, 19 Oct 2021 09:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QS2VtUXuMTbdrtpJge6QXij/eC0rdERMzb+xQVD6ek4=; b=MOELZ7DipwhVi1n1jB2Li0DGiyJFaqMG0flBpk5YtaWdvR3ILuWUhcvGB22seFMrrl 4InTwH5v5sDuHuIKhPGDu3Ey4Hc41xvYIoJJ0o2KE+aQ375L27BY/Ttl/2IMSvv7I2em itVHisYZvRO/kL5BIqr/2ZBj4CotnqzFxFBdGSNHDkV89GNJgA8UDfqcAGgj3spXH7GE Ui4Lwibqy4y7oAbaE5Ni0g4d+/4/cuevGom5SbI52wit1sLJAa7clas7bbgR9JpsxNA+ jTXudLWZY6SevDHv+XUiTwQh+AYLjFDLEcrWshc5EYe8+Bz3TLaw0kktml24JBjexbQJ 4WAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QS2VtUXuMTbdrtpJge6QXij/eC0rdERMzb+xQVD6ek4=; b=ZHZU7ODc6ppxiiHl+D/SbISW8lQRIqjgxJZFIZFGNUu3Yw0Xqemnjp3u1gpmiLwYFR kYVPciMH8RtN8u26rIfNSnj6eOLp38INrFp2AOTO7ckauZybfEXg5IREFtos8rkZzuBQ AqC0G98jIBUYNjWk/NmfV6O5mh09ilUid7SypcmQo4i3FSN7j30Lr6GqCHVFOPV7h6S+ i78+A03OV3t2HhAB61XuIpzavfwuNYk3iflK6ONC5H1usdGFm8dxHCRcSz3nPeDeKwgv d+IScBocgalw07GHwFa3ULyWEM6N3n3qQEshLApxnccDPUZZiEZs86QBduKhah4vx3fc yPRg== X-Gm-Message-State: AOAM532wMTprfMKFs56hqL7E0aSdC+YAZo6HT07Gu1S6tb9VO9ITL5Um bOndFMcwxcKBXkaVllr+bv9A+A== X-Google-Smtp-Source: ABdhPJwVGinafCtPoLGKjq310gBUbv2ABYwW5idPt7eO6GPQNnKJwtz22CS9o7pRlMLO7RUonts9VA== X-Received: by 2002:a05:6000:2af:: with SMTP id l15mr46139522wry.296.1634660084774; Tue, 19 Oct 2021 09:14:44 -0700 (PDT) Received: from 6wind.com ([2a01:e0a:5ac:6460:c065:401d:87eb:9b25]) by smtp.gmail.com with ESMTPSA id l5sm15443702wrq.77.2021.10.19.09.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 09:14:42 -0700 (PDT) Date: Tue, 19 Oct 2021 18:14:41 +0200 From: Olivier Matz To: Andrew Rybchenko Cc: David Marchand , Ray Kinsella , dev@dpdk.org Message-ID: References: <20211018144907.1145028-1-andrew.rybchenko@oktetlabs.ru> <20211019100845.1632332-1-andrew.rybchenko@oktetlabs.ru> <20211019100845.1632332-5-andrew.rybchenko@oktetlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211019100845.1632332-5-andrew.rybchenko@oktetlabs.ru> Subject: Re: [dpdk-dev] [PATCH v2 4/6] mempool: make header size calculation internal 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 Tue, Oct 19, 2021 at 01:08:43PM +0300, Andrew Rybchenko wrote: > Add RTE_ prefix to helper macro to calculate mempool header size and > make it internal. Old macro is still available, but deprecated. > > Signed-off-by: Andrew Rybchenko (...) > +/** Deprecated. Use RTE_MEMPOOL_HEADER_SIZE() for internal purposes only. */ > +#define MEMPOOL_HEADER_SIZE(mp, cs) \ > + RTE_DEPRECATED(RTE_MEMPOOL_HEADER_SIZE(mp, cs)) > + I think it should be instead: #define MEMPOOL_HEADER_SIZE(mp, cs) \ RTE_DEPRECATED(MEMPOOL_HEADER_SIZE) RTE_MEMPOOL_HEADER_SIZE(mp, cs)