diff mbox series

[V1,1/3] framework/project_dpdk: remove IAVF dpdk code modification

Message ID 20210618092615.202107-2-junx.dong@intel.com (mailing list archive)
State Accepted
Headers show
Series remove enable IAVF function | expand

Commit Message

Jun Dong June 18, 2021, 9:26 a.m. UTC
From: Zhimin Huang <zhiminx.huang@intel.com>

* IAVF is default VF driver for i40e NIC, so remove dpdk changes from dts

Signed-off-by: Jun Dong <junx.dong@intel.com>
---
 framework/project_dpdk.py | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

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)