From patchwork Thu Aug 10 12:21:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 130081 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B982D43026; Thu, 10 Aug 2023 14:21:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 313314325E; Thu, 10 Aug 2023 14:21:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6A3F343269 for ; Thu, 10 Aug 2023 14:21:30 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37A8YNW1021056; Thu, 10 Aug 2023 05:21:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=rezavFQtH6OLGlRugk9tGf6ztcf0/dlTJJ3dWDZ7l/w=; b=YUaAJ7MeygJYsJdt/SlMIxzZEGpJ6j9LqyzXy8EiQgZ09FiWn+Zbpe6zMMogdOpIM7pJ OyZSZnbfn83V0QbpYdZK1hiL7TVOGLSotd5joLAUiMw1fl/QZ7ma2K/ysVcJ8qHettHF xfS+ypWE39NtjiZ3QGYmrptI7FiJsCeKL98VtPEuRZ3B1hP8l9TMxg0M1GkfO+EBLYzQ 6NslLlS+AaagTZofmeF6ZjXOLd+yvcvsmNIOfmEJB6tr0dJ28eEwZQbIAhckXL7FNlos 0lbuQVzpJX+Ga+jo821xR0QRpzUWeZ78HAnZeLXcVFHhnCjWcqtjza8afszhgpX/4HOM zQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3scj5makkr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 05:21:29 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 10 Aug 2023 05:21:27 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 10 Aug 2023 05:21:27 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 77DE33F70AB; Thu, 10 Aug 2023 05:21:25 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , Chengwen Feng , "Vamsi Attunuru" , Gowrishankar Muthukrishnan Subject: [PATCH 4/4] test/dma: enable cnxk tests Date: Thu, 10 Aug 2023 17:51:11 +0530 Message-ID: <20230810122111.2329-5-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230810122111.2329-1-gmuthukrishn@marvell.com> References: <20230810122111.2329-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: OoxZ64oYCdhOwjRTFFU7uIthDBPi9Ah6 X-Proofpoint-GUID: OoxZ64oYCdhOwjRTFFU7uIthDBPi9Ah6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-10_10,2023-08-10_01,2023-05-22_02 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 Enable DMA tests for CNXK driver. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/meson.build | 1 + app/test/test_dmadev.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/app/test/meson.build b/app/test/meson.build index de671b665f..fa5987f3a2 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -319,6 +319,7 @@ driver_test_names = [ 'cryptodev_sw_snow3g_autotest', 'cryptodev_sw_zuc_autotest', 'cryptodev_uadk_autotest', + 'dmadev_cnxk_autotest', 'dmadev_dpaa_autotest', 'dmadev_dpaa2_autotest', 'dmadev_hisilicon_autotest', diff --git a/app/test/test_dmadev.c b/app/test/test_dmadev.c index 5e72e8535c..090a6e3ce3 100644 --- a/app/test/test_dmadev.c +++ b/app/test/test_dmadev.c @@ -1099,9 +1099,18 @@ test_ioat_dma(void) return test_dma(pmd); } +static int +test_cnxk_dma(void) +{ + const char *pmd = "dma_cnxk"; + + return test_dma(pmd); +} + REGISTER_TEST_COMMAND(dmadev_skeleton_autotest, test_skeleton_dma); REGISTER_TEST_COMMAND(dmadev_dpaa_autotest, test_dpaa_dma); REGISTER_TEST_COMMAND(dmadev_dpaa2_autotest, test_dpaa2_dma); REGISTER_TEST_COMMAND(dmadev_hisilicon_autotest, test_hisilicon_dma); REGISTER_TEST_COMMAND(dmadev_idxd_autotest, test_idxd_dma); REGISTER_TEST_COMMAND(dmadev_ioat_autotest, test_ioat_dma); +REGISTER_TEST_COMMAND(dmadev_cnxk_autotest, test_cnxk_dma);