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 34DC1433E8; Tue, 28 Nov 2023 12:54:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2493640E54; Tue, 28 Nov 2023 12:54:33 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id A13BA402C2 for ; Tue, 28 Nov 2023 12:54:31 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4026F3200A4E; Tue, 28 Nov 2023 06:54:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 28 Nov 2023 06:54:28 -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:sender:subject:subject:to:to; s=fm1; t= 1701172467; x=1701258867; bh=7t85FrltB9gAg6RvQfxT/PIqVR3gc0Iv0s9 vaimI0DI=; b=dKjjPiXkHXFNZ7heetmkzzqqr6U4EpfMF1jdEN4xTf15fBncEy+ tRbF4xxVllGN2HNA7AeJN5hXgWc/wkHk6re4tVLAdp9LlkktSKYiJH/PkQ8IcivD 6IeXoV7nmEVH4b/qHqHuQlm9/OiDpzQhMFGnNGjDYZInFdGtYbgEILB/Sx6NZreg T4tok4E96L+MyMFPgnL8xDVLz8mt30htV1RA4lJkMJ8AmqKfA8eDNRriEJ54aiqM FZRD6erAKHQMtKQg/CeFEJ9x5LuwWXoH5nNj4In74LcCggXvX329dv5EAetg57sk vZUecberjkBJnrDY8eXpkCll7K7b78e7vGA== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701172467; x=1701258867; bh=7t85FrltB9gAg6RvQfxT/PIqVR3gc0Iv0s9 vaimI0DI=; b=TxVqehoz7LEM2vyyWQBqTeYhJmcd3iLz9QFW4X7YVslkvsIBMAN fejQ5Ht4LhJxeJEb8qwlxJvVuemu43Jd2/UtnBE9DpRL7C79Al6xpyTqA28dR6ag /k/E4zbTNEpAQ1zezsR/ohhJ9Hw7ZqtR6Wwapwiqcqy0Cx+48xUvl+GaoQD0QMbG y7ZGKcz2WZzxojd5iGDVeiY5K+wM4jT4trhLMcWlKkE1I9/yYn7TGx29wcZNOWbS vmruLObR6rSP1MtaEmJO+7Vb5mXiDJ9mGawosUmibiUtjTPRqgmPZfoxgCt7ph2E 0U8dqo4w7Oohw+zkSB+RGu0e0408q85PJIA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeifedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Nov 2023 06:54:26 -0500 (EST) From: Thomas Monjalon To: Jerin Jacob Cc: dev@dpdk.org, david.marchand@redhat.com Subject: Re: [dpdk-dev] [PATCH 2/2] devtools: forbid rte symbols in cnxk base driver Date: Tue, 28 Nov 2023 12:54:23 +0100 Message-ID: <40957463.XM6RcZxFsP@thomas> In-Reply-To: <20231004122753.3261337-2-jerinj@marvell.com> References: <20231004122753.3261337-1-jerinj@marvell.com> <20231004122753.3261337-2-jerinj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 04/10/2023 14:27, jerinj@marvell.com: > From: Jerin Jacob > > cnxk base code is shared between different driver environments. > > Forbid the direct usage of rte_ symbols instead use plt_ > symbol as alternatives. > > roc_platform.[ch] files abstract the difference of driver > environment, hence skip those files for rules check. > > Suggested-by: David Marchand > Signed-off-by: Jerin Jacob Series applied, thanks. I've moved the check in a more appropriate place to keep a kind of ordering in all checks. Also, I've changed a word to mention "API": MESSAGE='Use plt_ symbols instead of rte_ API in cnxk base driver'