From: "zhao,meijuan" <meijuanx.zhao@intel.com>
To: dts@dpdk.org
Cc: "zhao,meijuan" <meijuanx.zhao@intel.com>
Subject: [dts] [PATCH V1] tests/vf kernel : change fwd function for testpmd
Date: Fri, 21 Dec 2018 16:21:31 +0800 [thread overview]
Message-ID: <1545380491-41104-1-git-send-email-meijuanx.zhao@intel.com> (raw)
change testpmd fwd function to get dut's session output
Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
tests/TestSuite_vf_kernel.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index a46a07b..a720738 100644
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -577,6 +577,8 @@ class TestVfKernel(TestCase):
# Start DPDK PF, enable promisc mode, set rxonly forwarding
self.dut_testpmd.execute_cmd('stop')
self.dut_testpmd.execute_cmd('set promisc all on')
+ self.dut_testpmd.execute_cmd('set fwd rxonly')
+ self.dut_testpmd.execute_cmd('set verbose 1')
self.dut_testpmd.execute_cmd('start')
self.verify(self.check_pf_vf_link_status(
self.vm0_dut, self.vm0_intf0), "VM0_VF0 link down")
--
2.17.2
next reply other threads:[~2018-12-21 8:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-21 8:21 zhao,meijuan [this message]
2018-12-25 6:50 ` Zhu, WenhuiX
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=1545380491-41104-1-git-send-email-meijuanx.zhao@intel.com \
--to=meijuanx.zhao@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).