From: Peng Yuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: Peng Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH] tests: correct spelling errors
Date: Wed, 9 Jan 2019 18:02:11 +0800 [thread overview]
Message-ID: <1547028131-22824-1-git-send-email-yuan.peng@intel.com> (raw)
Correct spelling errors of TestSuite_vmdq.py.
Signed-off-by: Peng Yuan <yuan.peng@intel.com>
diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py
index 10cb8e6..796a214 100644
--- a/tests/TestSuite_vmdq.py
+++ b/tests/TestSuite_vmdq.py
@@ -6,7 +6,6 @@ DPDK Test suite.
Tests for vmdq.
"""
-
import utils
import re
from etgen import IxiaPacketGenerator
@@ -30,7 +29,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
"""
Run at the start of each test suite.
"""
-
self.tester.extend_external_packet_generator(TestVmdq, self)
self.dut.send_expect("sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/' ./config/common_base", "# ", 5)
@@ -53,12 +51,10 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
out = self.dut.send_expect("make -C examples/vmdq", "#", 10)
self.verify("Error" not in out, "Compilation error")
-
def validateApproxEqual(self, lines):
"""
Check that all the rx queue stats are within a 30% range.
"""
-
minimum = 1000000
maximun = 0
@@ -85,7 +81,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
MAX queues is 128
queues/pools = 128/npools
"""
-
self.current_frame_size = self.default_framesize
self.dut_ports = self.dut.get_ports(self.nic)
@@ -130,8 +125,8 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
def test_perf_vmdq_64pools_queues(self):
"""
- This function call " Npools_128queues" with differen number
- of pools. Details see below. if not sure, set it as 8 pools.
+ This function call "Npools_128queues" with different number
+ of pools. Details see below. If not sure, set it as 8 pools.
"""
if self.nic in ("niantic", "springfountain"):
self.Npools_128queues(64)
@@ -144,9 +139,8 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
def test_perf_vmdq_performance(self):
"""
- Try different configuration and different packe size
+ Try different configuration and different packet size
"""
-
self.tester.get_interface(
self.tester.get_local_port(self.dut_ports[0]))
@@ -240,7 +234,6 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
"""
Change Ixia configuration
"""
-
self.add_tcl_cmd("vlan config -mode vIncrement")
self.add_tcl_cmd("vlan config -step 1")
self.add_tcl_cmd("vlan config -repeat %d" % self.vlan_repeat)
@@ -250,7 +243,7 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
def ether(self, port, src, dst, type):
"""
- Configure Ether protocal.
+ Configure Ether protocol.
"""
self.add_tcl_cmd("protocol config -ethernetType ethernetII")
self.add_tcl_cmd('stream config -sa "%s"' % self.macToTclFormat(src))
@@ -258,5 +251,3 @@ class TestVmdq(TestCase, IxiaPacketGenerator):
self.add_tcl_cmd('stream config -daRepeatCounter increment')
self.add_tcl_cmd('stream config -daStep 1')
self.add_tcl_cmd('stream config -numDA %d' % self.da_repeat)
-
-
--
2.7.4
next reply other threads:[~2019-01-09 9:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 10:02 Peng Yuan [this message]
2019-01-09 13:06 ` Rami Rosen
2019-01-11 1:00 ` 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=1547028131-22824-1-git-send-email-yuan.peng@intel.com \
--to=yuan.peng@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).