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 CBEE3A0C4B; Wed, 20 Oct 2021 10:28:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7A51411B8; Wed, 20 Oct 2021 10:28:36 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 3538640142 for ; Wed, 20 Oct 2021 10:28:35 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="226186608" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="226186608" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 01:28:34 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="575177382" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 01:28:33 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Wed, 20 Oct 2021 16:28:10 +0000 Message-Id: <20211020162812.332494-2-yanx.xia@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211020162812.332494-1-yanx.xia@intel.com> References: <20211020162812.332494-1-yanx.xia@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 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 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