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 BEAD0A0C46; Fri, 18 Jun 2021 11:26:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACCC0410DE; Fri, 18 Jun 2021 11:26:48 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id AF06740142 for ; Fri, 18 Jun 2021 11:26:47 +0200 (CEST) IronPort-SDR: OTwEUgZFZ4ae/GwbQjNBl2Lso6aLfd62+pbw7BBfR5eZUMAR2vIRPaeFJTGPjHjbnqwt8T8dwY Ze4WQoI5bXSQ== X-IronPort-AV: E=McAfee;i="6200,9189,10018"; a="206564133" X-IronPort-AV: E=Sophos;i="5.83,283,1616482800"; d="scan'208";a="206564133" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2021 02:26:46 -0700 IronPort-SDR: D3MWMfvCkwHPzdc7MLy3N6JFFYnx8iFHUlCvjZd1gvm7HGPszus1cbRRqofUDH+3Ep+XWkz/Ie TGi+2OC2MkWw== X-IronPort-AV: E=Sophos;i="5.83,283,1616482800"; d="scan'208";a="485620719" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.57]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2021 02:26:44 -0700 From: Jun Dong To: junx.dong@intel.com Cc: dts@dpdk.org, Zhimin Huang Date: Fri, 18 Jun 2021 17:26:13 +0800 Message-Id: <20210618092615.202107-2-junx.dong@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210618092615.202107-1-junx.dong@intel.com> References: <20210618092615.202107-1-junx.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/3] framework/project_dpdk: remove IAVF dpdk code modification 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" From: Zhimin Huang * IAVF is default VF driver for i40e NIC, so remove dpdk changes from dts Signed-off-by: Jun Dong --- framework/project_dpdk.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index f7946664..c1719c49 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -288,13 +288,6 @@ class DPDKdut(Dut): kernel_driver = self.nic.default_driver nic_name = self.nic.name - if nic_name in ['fortpark_TLV', 'fortpark_BASE-T']: - self.send_expect("sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/i { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_X722_VF) },' drivers/net/iavf/iavf_ethdev.c", "# ") - self.send_expect("sed -i '/I40E_DEV_ID_X722_VF/d' drivers/net/i40e/i40e_ethdev_vf.c", "# ") - elif kernel_driver == 'i40e': - self.send_expect("sed -i '/{ RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_ADAPTIVE_VF) },/a { RTE_PCI_DEVICE(IAVF_INTEL_VENDOR_ID, IAVF_DEV_ID_VF) },' drivers/net/iavf/iavf_ethdev.c", "# ") - self.send_expect("sed -i -e '/I40E_DEV_ID_VF/s/0x154C/0x164C/g' drivers/net/i40e/base/i40e_devids.h", "# ") - build_type = load_global_setting(HOST_BUILD_TYPE_SETTING) build_install_dpdk = getattr(self, 'build_install_dpdk_%s_%s' % (self.get_os_type(), build_type)) build_install_dpdk(target, extra_options) -- 2.27.0