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 57B99A0C43; Wed, 20 Oct 2021 14:14:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2100440687; Wed, 20 Oct 2021 14:14:03 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 869D740142 for ; Wed, 20 Oct 2021 14:14:02 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ECB595C014E; Wed, 20 Oct 2021 08:14:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 20 Oct 2021 08:14:01 -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=fm2; bh= yeizg1FphBfVofFfWl4Uwp8UqX86xThtfLFoiBYYyn4=; b=jPnFq4IA1aQGFrEe YhGjUzfo1FrGvtfJw5lgk9AiusfUQCOOxACx6wBSp/sNLg5l5vD2bNT6GFpFZvW0 iTNSztpMH4Ot/HMsqqI0uvEAc5xKFmwFHcnXCHbypHbvYbtywRgHIK6j+0ETqNVz N63qehmotuwydI7rfNNM6r2W8kBe47m7qq4fx7B9yb0aJQxTWbkC6yio0WkvRdyg fqi1tXOMi0GaTg29PKxS2dVfmGtCQnEl7UwaI0CK7LT9h/ZUqL3RRWeIoc1ggkat xPT8gmpuvaMmTYvzVPQXAvfFZ+GyoVUgL9Et/bkz4xDSJmHUfAzMkl/b3OUw4oUz 9yS4mA== 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=yeizg1FphBfVofFfWl4Uwp8UqX86xThtfLFoiBYYy n4=; b=OPGnhEtfAMEg17tkMo7mhvW50oBnCr8w6AbG0kVESZ5UzdJwjPcHRi3EZ Jg816892253XXiMtn2q4/0y+kRo5v68T/yZLvBxjX+eD0P+XkXNAKU9D2/B+/11w D0lknRZHyZzkJKAk3pwqD6zWveNBD79BnZbu9jH/F6lNx0IBChjqjrm7j8D+84N5 Nyv7Ee55H1rqzgkFFFCE/JIP4OW1oexTCNAPbVWkKYucc40D7aTikhabpHbVQHLv kQflXNjpaxTgWAl18PWxhrS3tTcy4Nb6No/Drh/HamvJFl2Dq+ha9klsfLR5Qm6D EgNN7LRbV2CKn6mHonqg52XNwBkJQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvgedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Oct 2021 08:14:00 -0400 (EDT) From: Thomas Monjalon To: "roy.fan.zhang@intel.com" , Gagandeep Singh , Hemant Agrawal , Akhil Goyal Cc: "dev@dpdk.org" , "konstantin.ananyev@intel.com" , aconole@redhat.com, david.marchand@redhat.com Date: Wed, 20 Oct 2021 14:13:58 +0200 Message-ID: <1737616.tSrxHmIIMQ@thomas> In-Reply-To: References: <20211013190032.2308-1-hemant.agrawal@nxp.com> <4018747.7GKOkI4Wxd@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v5 14/15] test/crypto: add raw API test for dpaax 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" 20/10/2021 11:32, Akhil Goyal: > > 20/10/2021 11:15, Akhil Goyal: > > > > 17/10/2021 18:16, Hemant Agrawal: > > > > > This patch add support for raw API tests for > > > > > dpaa_sec and dpaa2_sec platforms. > > > > > > > > Why do we have tests specific to some drivers? > > > > Is there a plan to remove them? > > > > > > > > > > The testsuites are common and there is no driver specific test. > > > The test command is different for each of the PMD, > > > that is why it is registered for each PMD. > > > For Raw data path APIs, all of the testsuite is run with a global flag set. > > > Currently only 3 PMDs support raw APIs, we can get rid of this global flag in > > future if more > > > PMDs start supporting these APIs. > > > > No there is something wrong. > > It shows that it is not generic enough for any app. > > What is missing to make the same calls no matter the driver? > > Do we need to add some capability flags? > > Capability flags are there for raw data path APIs but the PMD can support both APIs. > And we need to test both data paths. > So for this we have a global variable to enable raw data path and we register a new > Command for the PMD and enable that global flag while doing that. > The tests, however have the capability flags checks in place but we decide to enable > Raw APIs only when the PMD support that and that global flag is set. > I hope it is clear now. No sorry, it is not clear. How may I know that the raw API is supported in a PMD? If there is such info, no need for specific tests?