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 DFE0AA0C43; Wed, 20 Oct 2021 12:10:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D40B2411BB; Wed, 20 Oct 2021 12:10:33 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 2B96740142 for ; Wed, 20 Oct 2021 12:10:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="215909912" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="215909912" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 03:10:31 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="527000095" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 03:10:30 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Wed, 20 Oct 2021 18:10:03 +0000 Message-Id: <20211020181005.332986-2-yanx.xia@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211020181005.332986-1-yanx.xia@intel.com> References: <20211020181005.332986-1-yanx.xia@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V2 1/3] framework: modify dts because of i40evf removed 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 Sender: "dts" modify dts because of i40evf removed dpdk commit-id:c65f9258 Signed-off-by: Yan Xia --- framework/dut.py | 3 +-- framework/settings.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/framework/dut.py b/framework/dut.py index f5481d06..f3ef2cbe 100644 --- a/framework/dut.py +++ b/framework/dut.py @@ -507,8 +507,7 @@ class Dut(Crb): break else: # try to bind nic with iavf - if driver == 'i40evf': - driver = 'iavf' + if driver == 'iavf': self.send_expect('modprobe %s' % driver, '# ') self.send_expect('echo %s > /sys/bus/pci/drivers/%s/bind' % (pci_bus, driver), '# ') diff --git a/framework/settings.py b/framework/settings.py index c08b8709..bca4d59f 100644 --- a/framework/settings.py +++ b/framework/settings.py @@ -153,8 +153,8 @@ DRIVERS = { 'fortpark_1g': 'i40e', 'fortpark_TLV': 'i40e', 'fortpark_BASE-T': 'i40e', - 'fortpark_TLV_vf': 'i40evf', - 'fvl10g_vf': 'i40evf', + 'fortpark_TLV_vf': 'iavf', + 'fvl10g_vf': 'iavf', 'ConnectX3_MT4103': 'mlx4_core', 'ConnectX4_MT4115': 'mlx5_core', 'ConnectX4_LX_MT4117': 'mlx5_core', -- 2.33.1