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 43DF245D45; Tue, 19 Nov 2024 18:11:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C2BC4029B; Tue, 19 Nov 2024 18:11:53 +0100 (CET) Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) by mails.dpdk.org (Postfix) with ESMTP id D9F154028B for ; Tue, 19 Nov 2024 18:11:51 +0100 (CET) Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 76C8513806A2; Tue, 19 Nov 2024 12:11:51 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Tue, 19 Nov 2024 12:11:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1732036311; x=1732122711; bh=NW96pKXvojPw7DT9Ocw1IOKD+uz2AeIIJi3srYRBE4g=; b= SWP7JK+1Fdpw+bHqmfW1JBJtXJGtQa2+c50MCLhOS1wbfdmnWtVvMF8ZfdBC5Z0U dBQlwOt1tfGAOt6AA4hWf+JQjytZqHseNsH4+pAnjcs2zOLHj6/M51BJEsh5F2vV qQIcuY37yTUqwVfUwG1Fgt1W1pwSt8ZMkxzWgjHdoeSFC7pS9yu57VrI5yT88O7B 3SUKxLg4liFp9WTp37jaMrgc671vNGvOtcEhpJWrDY/zXVFKU0cYXGTpSlCEOvj/ J7vrsfBM03A9lX8giwTs5aJsnpmDIGJ0ZP7e7Oi+nbDUWMQ5cqt8FPtdUWNeAO66 tmGIAXR67OjXTVI/pYEdSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1732036311; x= 1732122711; bh=NW96pKXvojPw7DT9Ocw1IOKD+uz2AeIIJi3srYRBE4g=; b=R XXNeFmplOsFlYavc58rzXpAORD1fQ2ie9cY/KcxnhKdFjju3w0ym9TxFNmTQpDID yadVL3cgB14LeLUvj7sOpfkFCqPyZu//xFI6QOxpaL70DuWYXaQ23dem8/Z6KMFS DVh50YdVA7Nc0fquE65tbAdBa5aweDFDS8PNJ/tzVrbIl1tgX86A+NHHiqrZExo3 lq9vLk/XYExcI0pzmPGWFKz39yGdbDNrirWosuMsONG5F8QjBYf2PJjZLmm+fLZk CwmyOlzGP7J3VWY4MpG8ZR2NpF0WWgIn75Sksid0ODjmxyJVBCN/t4U1MjBuZWad 0sQDerYeEW0fmgxdyhCfA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfedvgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecu hfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlh honhdrnhgvtheqnecuggftrfgrthhtvghrnhepjeduveehieevuddutdevfffgtdegkeeu veejffejgedtgeegkefgvdeugfefkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthdpnhgs pghrtghpthhtohepuddvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfvghngh gthhgvnhhgfigvnheshhhurgifvghirdgtohhmpdhrtghpthhtohepkhgvvhhinhdrlhgr rghtiiesihhnthgvlhdrtghomhdprhgtphhtthhopegsrhhutggvrdhrihgthhgrrhgush honhesihhnthgvlhdrtghomhdprhgtphhtthhopehvvhgvlhhumhhurhhisehmrghrvhgv lhhlrdgtohhmpdhrtghpthhtohepuggvvhesughpughkrdhorhhgpdhrtghpthhtohepjh gvrhhinhhjsehmrghrvhgvlhhlrdgtohhmpdhrtghpthhtoheprghnohhosghjsehmrghr vhgvlhhlrdgtohhmpdhrtghpthhtoheprghsrghsihguhhgrrhgrnhesmhgrrhhvvghllh drtghomhdprhgtphhtthhopehkthgvjhgrshhrvggvsehmrghrvhgvlhhlrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Nov 2024 12:11:49 -0500 (EST) From: Thomas Monjalon To: fengchengwen@huawei.com, kevin.laatz@intel.com, bruce.richardson@intel.com, Vidya Sagar Velumuri Cc: dev@dpdk.org, jerinj@marvell.com, anoobj@marvell.com, vvelumuri@marvell.com, asasidharan@marvell.com, ktejasree@marvell.com, gmuthukrishn@marvell.com, dev@dpdk.org Subject: Re: [PATCH v2 2/2] test/dma: add functions to verify zero and one fill Date: Tue, 19 Nov 2024 18:11:47 +0100 Message-ID: <2724067.KRxA6XjA2N@thomas> In-Reply-To: <20240419090734.43613-2-vvelumuri@marvell.com> References: <20240416123747.4133884-1-vvelumuri@marvell.com> <20240419090734.43613-1-vvelumuri@marvell.com> <20240419090734.43613-2-vvelumuri@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 19/04/2024 11:07, Vidya Sagar Velumuri: > Add test cases to verify zero fill and one fill > > Signed-off-by: Vidya Sagar Velumuri Waiting for review from DMA maintainers. > diff --git a/app/test/test.h b/app/test/test.h > index 15e23d297f..0ca6519f6e 100644 > --- a/app/test/test.h > +++ b/app/test/test.h > @@ -27,6 +27,10 @@ > > #include > > +#ifndef ARRAY_SIZE > +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) > +#endif Just one comment about this one: please use RTE_DIM.