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 ED4A1A0547; Wed, 21 Apr 2021 12:48:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75BFA419EC; Wed, 21 Apr 2021 12:48:33 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 91B32419D3; Wed, 21 Apr 2021 12:48:31 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 3C8735C012B; Wed, 21 Apr 2021 06:48:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 21 Apr 2021 06:48:31 -0400 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=fm1; bh= TC94F1h07cOf5CMfDIHyLjV3ASncXot/NI9yG8ApvSw=; b=zH0FDA+BcRHNQTll W4Znd3+vwuKffD/ZbPND3+Wt7ZyzG4atN1SP0yYszIwpjJtRFSNl7/2DEjJ7DAUo 4x2H0X2wxmIUVoP5XB2scOJCuA6F+e3+zCQrrHPn6r27vC7Itj8ZTve30GEpFRpZ pY68qqqqZBd5Z0AHcGbNsp8Y/gTp4nrSEUTk42NE8Fc9ecUfzXExlQNnWxfFV4Q5 kIP4eSknVm4ER17papZrBIkEm4EOP1K0Du7+iTfBhAavu9cyoZGpCY8+LNFdq8/x 4LjYLEveTyCp93Aa4hfQce49GqeBzpqoLSn+c946ZuBi1kyELMI98EJBnQsp4bhM HJEfNA== 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=fm2; bh=TC94F1h07cOf5CMfDIHyLjV3ASncXot/NI9yG8Apv Sw=; b=T4oiIU1f9D6DSC9+X3cN1s7m8gCIw8c1DE5RRZHORl21wCFpnFY6tz1PM 2yznfpqs/2KVezLyIREd5I8Azx97Awqd4htP+ERylc1Db9bwbnmONgvJYvsfehUG PKelg1cAzX6V+AMNd3UXogF0YFYYEpH+SoFFRo8hw2P8yfd7jp8Sy3uhgeHdMIBn U1eJdKdcg3qUcuoMlCA4t2bIWWqV3NsMFwamMGxHu6yloXdhvMmD0Un3PQsuAU9X 6FtzmCb5c/xbFbDwUF36Ew/9rkuI025vxYOhNPlUU83I85NzeAaftT+PDpLBikTR ENpeBezZVWfJjcFP3XtWOJlbB8e1Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtkedgfeefucetufdoteggodetrfdotf 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 9B04624005B; Wed, 21 Apr 2021 06:48:28 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit , "Min Hu (Connor)" Cc: Andrew Rybchenko , Gaetan Rivet , Stephen Hemminger , dev@dpdk.org, stable@dpdk.org, Kevin Traynor Date: Wed, 21 Apr 2021 12:48:27 +0200 Message-ID: <3306802.DxsrPQd60I@thomas> In-Reply-To: <20210421023700.1640488-1-ferruh.yigit@intel.com> References: <1618645179-11582-1-git-send-email-humin29@huawei.com> <20210421023700.1640488-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v9] ethdev: add sanity checks in control APIs 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" 21/04/2021 04:36, Ferruh Yigit: > From: "Min Hu (Connor)" > > This patch adds more sanity checks in control path APIs. > > Fixes: 214ed1acd125 ("ethdev: add iterator to match devargs input") > Fixes: 3d98f921fbe9 ("ethdev: unify prefix for static functions and variables") > Fixes: 0366137722a0 ("ethdev: check for invalid device name") > Fixes: d948f596fee2 ("ethdev: fix port data mismatched in multiple process model") > Fixes: 5b7ba31148a8 ("ethdev: add port ownership") > Fixes: f8244c6399d9 ("ethdev: increase port id range") > Cc: stable@dpdk.org > > Signed-off-by: Min Hu (Connor) > Signed-off-by: Ferruh Yigit > Reviewed-by: Andrew Rybchenko > Acked-by: Kevin Traynor > --- > > It seems I underestimated finding good log messages ;), not sure if they > are complete, please comment, we can have more versions until they are > good. They are probably good enough. Thanks for all the work. Acked-by: Thomas Monjalon