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 BE208A0A0B; Mon, 1 Feb 2021 23:28:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 425C5160655; Mon, 1 Feb 2021 23:28:39 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id A1C2040693 for ; Mon, 1 Feb 2021 23:28:37 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 024175C01D2; Mon, 1 Feb 2021 17:28:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 01 Feb 2021 17:28:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= 5LdUnQmI8+e8LjcI6jt1yOQZ/GdztALcWIM5uJgXd7Q=; b=mBvVrAvnhVpX6Zo8 I8PspLsYB4wOzEJS+PsTnBGLJ6hFyG+PLzQmArMGQNNWWYOzbmeGzPKM6RrhlJ6X 2/GZvCzzCvk4B3o0QdEMneQc4VqZ6Pp872PSNEe/79op4+gNIOxYCfJmnA2moyip k7uD1u6h8oOemrjsMIrMv2ERHyjzUqqe5QBiiOnUPPl2yFomxCNwrK3yunvnh5W7 HcMy18rjrhOgjS4szP4ZKYUtpmXtlLYXY1tAW6CwNJUEfRYjfG2EnpeuVnRJqCez rQB0QpK813BhksDohQL7ld3GXph2YhbILXElYX1kCJ0ZoyfrzAYacsW0YJh6kbbP E5qFNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5LdUnQmI8+e8LjcI6jt1yOQZ/GdztALcWIM5uJgXd 7Q=; b=I7GqPSPMyszS0qTcO0tBlu7MmRGRYpxwicZfI8Gq3rIpEiTvPjhHBeQtj XyrGTFAW42nGXPpVIvR+ITEoEX8C5X6x+bttk8M4OhZWMHN9JsuH/0fAfwFr/WRl 5Npld9rsqhVyo8VCthUOiRJ3XUR5YC+PxQlSl2LCexGtZ8jRAePOQTpGeeJMkZUk Sc/ANDJPrjsD+ZhwL0Bm1OI4dLF1pHmWtdqGq3BtbkMO7ZTzVpAO5Xsk5758Fo90 yjg4LRs+iCQgz4XiAWY8quN5vThrIcvUyH0NZ2nYU3XAEWitTaPYSIlhahqHSkoh SO7OT13SSuky58N2GNqEQrHscJIwg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeekgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A9345108005B; Mon, 1 Feb 2021 17:28:35 -0500 (EST) From: Thomas Monjalon To: Andrew Boyer Cc: dev@dpdk.org, Alfredo Cardigliano , ferruh.yigit@intel.com Date: Mon, 01 Feb 2021 23:28:34 +0100 Message-ID: <4842644.BW4ZEuPtVA@thomas> In-Reply-To: <20210129224434.71536-1-aboyer@pensando.io> References: <20210129224434.71536-1-aboyer@pensando.io> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net: redefine array size macros 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" 29/01/2021 23:44, Andrew Boyer: > Replace copies of size(arr)/size(arr[0]) with RTE_DIM(). > Eventually all of these macro definitions should be removed. > > Signed-off-by: Andrew Boyer > --- > drivers/net/atlantic/atl_hw_regs.h | 2 +- > drivers/net/axgbe/axgbe_common.h | 2 +- > drivers/net/bnx2x/bnx2x.h | 2 +- > drivers/net/bnx2x/elink.h | 2 +- > drivers/net/ena/ena_ethdev.c | 2 +- > drivers/net/enic/base/vnic_devcmd.h | 2 +- > drivers/net/hns3/hns3_ethdev.h | 2 +- > drivers/net/i40e/base/i40e_osdep.h | 2 +- > drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h | 2 +- > drivers/net/thunderx/base/nicvf_hw.h | 2 +- > 10 files changed, 10 insertions(+), 10 deletions(-) Thanks for the cleanup. In the title, the prefix "net" means librte_net. Here, it should be "drivers/net". I know it's confusing :) Please check other patches in the series, they are versioned as v2 and numbered 4/13 and 6/13.