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 675A0A04B5; Thu, 10 Sep 2020 18:47:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79E3E1C126; Thu, 10 Sep 2020 18:47:41 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DA87E1C120 for ; Thu, 10 Sep 2020 18:47:39 +0200 (CEST) IronPort-SDR: uzJPOMEVsld+Wl3fwnFe8hN33W5kYTgyIHdnHW58EIsoT6iqG/Nq1V59z/zZxcY6Kj9C2duKM+ O0kqhCIgib3A== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="158618997" X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="158618997" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 09:47:39 -0700 IronPort-SDR: Gl9q7SP39baj3XJDi5lcMOGg7hqKbRS5N1zjJcDJ0/zeS3FdKEU5s7rG5rK1vOUWDnnQPlDmwb lSDRFkwedUUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,413,1592895600"; d="scan'208";a="304939292" Received: from silpixa00399126.ir.intel.com ([10.237.222.27]) by orsmga006.jf.intel.com with ESMTP; 10 Sep 2020 09:47:38 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Nipun Gupta , Hemant Agrawal , John McNamara , Marko Kovacevic Date: Thu, 10 Sep 2020 17:47:16 +0100 Message-Id: <20200910164716.1011901-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910164716.1011901-1-bruce.richardson@intel.com> References: <20200821155945.29415-1-bruce.richardson@intel.com> <20200910164716.1011901-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 3/3] 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 -------------------- doc/guides/rel_notes/release_20_11.rst | 2 ++ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/app/test/test_rawdev.c b/app/test/test_rawdev.c index 7e2fb2cf27..081fab969b 100644 --- a/app/test/test_rawdev.c +++ b/app/test/test_rawdev.c @@ -55,23 +55,3 @@ test_rawdev_selftests(void) } REGISTER_TEST_COMMAND(rawdev_autotest, test_rawdev_selftests); - -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); diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index 2ac7dca9a0..0cec16b61d 100644 --- a/doc/guides/rel_notes/release_20_11.rst +++ b/doc/guides/rel_notes/release_20_11.rst @@ -97,6 +97,8 @@ API Changes using the ``rawdev_autotest`` command in the ``dpdk-test`` binary. This command now calls the self-test function for each rawdev found on the system, and does not require a specific command per device type. + Following this change, the ``ioat_rawdev_autotest`` command has been + removed as no longer needed. ABI Changes -- 2.25.1