From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5FAC5A0526; Tue, 21 Jul 2020 11:52:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F9891C02D; Tue, 21 Jul 2020 11:52:18 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 63D321C02D for ; Tue, 21 Jul 2020 11:52:16 +0200 (CEST) IronPort-SDR: feHVELw6pIfcQffhg1C15eGdKG5RGhbvuF6BQ6atEPc6Ktm/XMlDh/UJ5psfujSwtrcB0Yp1Jw mlh3cWl5MgsQ== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="151440753" X-IronPort-AV: E=Sophos;i="5.75,378,1589266800"; d="scan'208";a="151440753" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2020 02:52:16 -0700 IronPort-SDR: mca1UxpqiCvPMysOUC7qAHCAvc/t6sK7jwUY42MKYQtTS3/ts7NU+Cm9bQVLpLItI+hkuobrxL guGkK+JvZkqQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,378,1589266800"; d="scan'208";a="488023701" Received: from silpixa00399126.ir.intel.com ([10.237.222.36]) by fmsmga005.fm.intel.com with ESMTP; 21 Jul 2020 02:52:14 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: cheng1.jiang@intel.com, patrick.fu@intel.com, kevin.laatz@intel.com, Bruce Richardson Date: Tue, 21 Jul 2020 10:51:24 +0100 Message-Id: <20200721095140.719297-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721095140.719297-1-bruce.richardson@intel.com> References: <20200721095140.719297-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 20.11 04/20] app/test: remove ioat-specific autotest X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Since the rawdev autotest can now be used to test all rawdevs on the system, there is no need for a dedicated ioat autotest command. Signed-off-by: Bruce Richardson --- app/test/test_rawdev.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/test/test_rawdev.c b/app/test/test_rawdev.c index a62f719d6..2944b3a27 100644 --- a/app/test/test_rawdev.c +++ b/app/test/test_rawdev.c @@ -48,23 +48,3 @@ test_rawdev_selftest_skeleton(void) } REGISTER_TEST_COMMAND(rawdev_autotest, test_rawdev_selftest_skeleton); - -static int -test_rawdev_selftest_ioat(void) -{ - const int count = rte_rawdev_count(); - int i; - - for (i = 0; i < count; i++) { - struct rte_rawdev_info info = { .dev_private = NULL }; - if (rte_rawdev_info_get(i, &info, 0) == 0 && - strstr(info.driver_name, "ioat") != NULL) - return rte_rawdev_selftest(i) == 0 ? - TEST_SUCCESS : TEST_FAILED; - } - - printf("No IOAT rawdev found, skipping tests\n"); - return TEST_SKIPPED; -} - -REGISTER_TEST_COMMAND(ioat_rawdev_autotest, test_rawdev_selftest_ioat); -- 2.25.1