From: Jun Dong <junx.dong@intel.com>
To: junx.dong@intel.com
Cc: dts@dpdk.org, Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts] [PATCH V1 1/3] framework/project_dpdk: remove IAVF dpdk code modification
Date: Fri, 18 Jun 2021 17:26:13 +0800 [thread overview]
Message-ID: <20210618092615.202107-2-junx.dong@intel.com> (raw)
In-Reply-To: <20210618092615.202107-1-junx.dong@intel.com>
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 --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
next prev parent reply other threads:[~2021-06-18 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-18 9:26 [dts] [PATCH V1 0/3] remove enable IAVF function Jun Dong
2021-06-18 9:26 ` Jun Dong [this message]
2021-06-18 9:26 ` [dts] [PATCH V1 2/3] test_plans/*: update test plan about enable IAVF Jun Dong
2021-06-18 9:26 ` [dts] [PATCH V1 3/3] tests/*: " Jun Dong
2021-06-22 7:07 ` [dts] [PATCH V1 0/3] remove enable IAVF function Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210618092615.202107-2-junx.dong@intel.com \
--to=junx.dong@intel.com \
--cc=dts@dpdk.org \
--cc=zhiminx.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).