From: "zhao,meijuan" <meijuanx.zhao@intel.com>
To: dts@dpdk.org
Cc: "zhao,meijuan" <meijuanx.zhao@intel.com>
Subject: [dts] [PATCH V1] test/vf_daemon fix some vlan and queue issue
Date: Fri, 9 Feb 2018 15:54:46 +0800 [thread overview]
Message-ID: <1518162886-50377-1-git-send-email-meijuanx.zhao@intel.com> (raw)
need enable vlan strip filter parameter,you can
refer to dpdk 8b9bd0e, need change pkt count to
make queue drop,you can refer to dpdk bd8f10f
Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
tests/TestSuite_vf_daemon.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py
index 840f218..e84f427 100644
--- a/tests/TestSuite_vf_daemon.py
+++ b/tests/TestSuite_vf_daemon.py
@@ -31,8 +31,8 @@ class Testvf_daemon(TestCase):
self.setup_vm_env()
def check_vf_link_status(self):
- self.dut_testpmd.start_testpmd("Default", "--port-topology=chained")
- self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '--port-topology=chained')
+ self.dut_testpmd.start_testpmd("Default", "--port-topology=chained --enable-hw-vlan-filter")
+ self.vm0_testpmd.start_testpmd(VM_CORES_MASK, '--port-topology=chained --enable-hw-vlan-strip --enable-hw-vlan-filter')
for i in range(10):
out = self.vm0_testpmd.execute_cmd('show port info 0')
print out
@@ -458,9 +458,9 @@ class Testvf_daemon(TestCase):
self.dut_testpmd.execute_cmd('set all queues drop 0 off')
self.vf0_mac = self.vm0_testpmd.get_port_mac(0)
self.vf1_mac = self.vm1_testpmd.get_port_mac(0)
- out = self.send_and_pmdout(self.vf1_mac, 0, 64, 200)
+ out = self.send_and_pmdout(self.vf1_mac, 0, 64, 2000)
out = self.vm1_testpmd.execute_cmd('show port stats 0')
- self.verify("RX-packets: 127" in out,
+ self.verify("RX-packets: 1023" in out,
"Failed to let vf1 full of queues!!!")
out = self.send_and_pmdout(self.vf0_mac, 0, 64, 20)
out = self.vm0_testpmd.execute_cmd('show port stats 0')
--
1.9.3
reply other threads:[~2018-02-09 7:53 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=1518162886-50377-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).