From: Zhimin Huang <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts] [PATCH V2] tests/enable_package_download_in_ice_driver:modify code to adapt dpdk changed
Date: Wed, 14 Jul 2021 03:38:30 +0800 [thread overview]
Message-ID: <20210713193830.8864-1-zhiminx.huang@intel.com> (raw)
according to dpdk commit id: 40edb9c0d36b781d711fabb91e250dca8fa6bd99,
the error log changed by start testpmd with wrong pkg.
Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
tests/TestSuite_enable_package_download_in_ice_driver.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py
index b57eb794..8bf21d18 100644
--- a/tests/TestSuite_enable_package_download_in_ice_driver.py
+++ b/tests/TestSuite_enable_package_download_in_ice_driver.py
@@ -99,11 +99,11 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):
out = self.dut_testpmd.start_testpmd("all", "--nb-cores=8 --rxq=%s --txq=%s --port-topology=chained" % (self.PF_QUEUE, self.PF_QUEUE), eal_param=self.eal_param)
if ice_pkg == "false":
if safe_mode_support == "true":
- error_messages = ["ice_load_pkg(): failed to allocate buf of size 0 for package", \
+ error_messages = ["ice_load_pkg(): ice_copy_and_init_hw failed: -1", \
"ice_dev_init(): Failed to load the DDP package,Entering Safe Mode", \
"ice_init_rss(): RSS is not supported in safe mode"]
if safe_mode_support == "false":
- error_messages = ["ice_load_pkg(): failed to allocate buf of size 0 for package", \
+ error_messages = ["ice_load_pkg(): ice_copy_and_init_hw failed: -1", \
"ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=1 to enter Safe Mode"]
for error_message in error_messages:
self.verify(error_message in out, "There should be error messages in out: %s" % out)
@@ -291,7 +291,7 @@ class TestEnable_Package_Download_In_Ice_Driver(TestCase):
self.use_correct_ice_pkg(flag="false")
cmd = self.path + "-c 0x7 -n 4 -- -i --nb-cores=8 --rxq=%s --txq=%s --port-topology=chained" % (self.PF_QUEUE, self.PF_QUEUE)
out = self.dut.send_expect(cmd, "#", 60)
- error_messages = ["ice_load_pkg(): failed to allocate buf of size 0 for package", \
+ error_messages = ["ice_load_pkg(): ice_copy_and_init_hw failed: -1", \
"ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=1 to enter Safe Mode"]
for error_message in error_messages:
self.verify(error_message in out, "There should be '%s' in out: %s" % (error_message, out))
--
2.17.1
next reply other threads:[~2021-07-13 11:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 19:38 Zhimin Huang [this message]
2021-07-26 5:46 ` 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=20210713193830.8864-1-zhiminx.huang@intel.com \
--to=zhiminx.huang@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).