From: lihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] fix the config filename
Date: Tue, 21 May 2019 05:43:45 +0800 [thread overview]
Message-ID: <1558388625-1134-1-git-send-email-lihongx.ma@intel.com> (raw)
Signed-off-by: lihong <lihongx.ma@intel.com>
---
tests/TestSuite_unit_tests_pmd_perf.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_unit_tests_pmd_perf.py b/tests/TestSuite_unit_tests_pmd_perf.py
index 0d332bf..ea221df 100644
--- a/tests/TestSuite_unit_tests_pmd_perf.py
+++ b/tests/TestSuite_unit_tests_pmd_perf.py
@@ -61,20 +61,20 @@ class TestUnitTestsPmdPerf(TestCase):
"""
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
- [self.arch, machine, env, toolchain] = self.target.split('-')
+ [self.arch, machine, _, toolchain] = self.target.split('-')
self.verify(self.arch in ["x86_64", "arm64"], "pmd perf request running in x86_64 or arm64")
self.burst_ctlmodes = ['poll_before_xmit', 'poll_after_xmit']
self.rxtx_modes = ['vector', 'scalar', 'full', 'hybrid']
self.anchors = ['rxtx', 'rxonly', 'txonly']
# for better scalar performance data, need disable CONFIG_RTE_IXGBE_INC_VECTOR
- [arch, machine, env, toolchain] = self.target.split('-')
- self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=y/CONFIG_RTE_IXGBE_INC_VECTOR=n/' config/common_%s" % env, "# ", 30)
+ [arch, machine, _, toolchain] = self.target.split('-')
+ self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=y/CONFIG_RTE_IXGBE_INC_VECTOR=n/' config/common_base", "# ", 30)
self.dut.build_install_dpdk(self.target)
out = self.dut.build_dpdk_apps('./app/test/')
self.verify('make: Leaving directory' in out, "Compilation failed")
self.dut.send_expect("mv -f ./app/test/test ./app/test/test_scalar", "# ")
- self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=n/CONFIG_RTE_IXGBE_INC_VECTOR=y/' config/common_%s" % env, "# ", 30)
+ self.dut.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=n/CONFIG_RTE_IXGBE_INC_VECTOR=y/' config/common_base", "# ", 30)
self.dut.build_install_dpdk(self.target)
out = self.dut.build_dpdk_apps('./app/test/')
self.verify('make: Leaving directory' in out, "Compilation failed")
--
2.7.4
next reply other threads:[~2019-05-21 5:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-20 21:43 lihong [this message]
2019-05-21 5:37 ` Zhu, WenhuiX
2019-05-29 2:13 ` 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=1558388625-1134-1-git-send-email-lihongx.ma@intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
/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).