From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/loopback_virtio_user_server_mode_cbdma: add stop step before quit testpmd
Date: Thu, 26 May 2022 02:36:20 -0400 [thread overview]
Message-ID: <20220526063620.1277381-1-weix.ling@intel.com> (raw)
Add stop step to stop send pakcets before quit testpmd.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py b/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
index 93e8575c..ecd7a9e3 100644
--- a/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
+++ b/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
@@ -971,6 +971,8 @@ class TestLoopbackVirtioUserServerModeCbama(TestCase):
"""
Run after each test case.
"""
+ self.virtio_user_pmd.execute_cmd("stop")
+ self.vhost_user_pmd.execute_cmd("stop")
self.virtio_user_pmd.quit()
self.vhost_user_pmd.quit()
self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#")
--
2.25.1
reply other threads:[~2022-05-26 6:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220526063620.1277381-1-weix.ling@intel.com \
--to=weix.ling@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).