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 E1D8BA0503; Thu, 28 Apr 2022 08:14:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF9ED410DC; Thu, 28 Apr 2022 08:14:55 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 57DB240E78 for ; Thu, 28 Apr 2022 08:14:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651126493; x=1682662493; h=from:to:cc:subject:date:message-id; bh=XXC+h21N8hpOX22PuxU1efkrqKQ+qb4hWMLMk8zXmLQ=; b=K8feXvfQpUMTwXg4WRrZwRQBtFQ/iKTSg7rg7VdyQ4AHq2kxIwZ9kYDy 9w7wJS7RjseLCuado3kT+iC0Vmczc9GQLf0fMZYdsIjvVdSrKj6WW61aR kJ+JN7yjp+LxiwOd63vDRwIVjJqkeEN6qe0hVti9fIVZGcd5WNJafVFF5 uNd2QuevLrUspum8eXJOFekz9AaQERAJmKl+mrJOIGSR0BU1AC3zk6SZA 89pM0JncvDGvy2XFyyr5TKOdko/8zkjvYix+e2CaUbZSxNj9hBY8eqzsi UbALxi7+MBdXb9svmw7RB/wGp6QGNqJHAlF6/0Qxf6PS+hUAu28ylKxxk g==; X-IronPort-AV: E=McAfee;i="6400,9594,10330"; a="246092955" X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="246092955" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 23:14:52 -0700 X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="581075759" Received: from unknown (HELO localhost.localdomain) ([10.239.251.94]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 23:14:50 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/userspace_ethtool: optimization script Date: Thu, 28 Apr 2022 14:39:24 +0000 Message-Id: <20220428143924.15886-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org In some case tests, the port is bound to the kernel driver. when these cases fail, the port will always be bound to the kernel driver, affecting the tests of later cases. Signed-off-by: Jiale Song --- tests/TestSuite_userspace_ethtool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 2b0269f4..c1818722 100755 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -699,6 +699,7 @@ class TestUserspaceEthtool(TestCase): """ Run after each test case. """ + self.dut.bind_interfaces_linux(self.drivername) self.dut.kill_all() pass -- 2.17.1