test suite reviews and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <ramirose@gmail.com>
To: dts@dpdk.org
Cc: Rami Rosen <ramirose@gmail.com>
Subject: [dts] [PATCH] tests/fdir: fix typos
Date: Sat, 19 Jan 2019 14:36:41 +0200	[thread overview]
Message-ID: <20190119123641.9685-1-ramirose@gmail.com> (raw)

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 tests/TestSuite_fdir.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index 44f1e96..dac145b 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -175,7 +175,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         """
         self.test_cycles = [{'cores': '1S/4C/2T', 'Mpps': {}, 'pct': {}}]
 
-        # Nianatic only support 2bytes payload, Fotville support 16 bytes
+        # Niantic only support 2bytes payload, Fortville support 16 bytes
         self.flexbytes = [{'length': 2, 'flexbytes': '0x11,0x11', 'payload': '\\x11\\x11'},
                           {'length': 16, 'flexbytes': '0x11,0x11,0x22,0x22,0x33,0x33,0x44,0x44,0x55,0x55,0x66,0x66,0x77,0x77,0x88,0x88', 'payload': '\\x11\\x11\\x22\\x22\\x33\\x33\\x44\\x44\\x55\\x55\\x66\\x66\\x77\\x77\\x88\\x88'}
                           ]
@@ -245,7 +245,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         self.dut.send_expect("set verbose 1", "testpmd>")
         self.dut.send_expect("set fwd rxonly", "testpmd>")
 
-        # fwd comand testing
+        # fwd command testing
         self.fdir_type = "fwd"
 
         # ipv4 ip
@@ -819,7 +819,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
                              /Raw(load="%s")], iface="%s")' \
                              % (self.dut_rx_interface, self.payload, self.dut_rx_interface), queueid = 0)
 
-        # test add and remove proto reul
+        # test add and remove proto rule
         self.dut.send_expect("set_fdir_input_set %d ipv4-other ipv4-proto add" % self.dut_ports[0], "testpmd>")
         self.dut.send_expect("flow_director_filter %d mode IP add flow ipv4-other src 192.168.1.1 dst 192.168.1.2 \
                               tos 16 proto 253 ttl 255 vlan 0 flexbytes (%s) fwd pf queue 1 fd_id 1"
@@ -906,7 +906,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
         self.dut.send_expect("set_fdir_input_set %d ipv6-other src-ipv6 add" % self.dut_ports[0], "testpmd>")
         self.dut.send_expect("set_fdir_input_set %d ipv6-other dst-ipv6 add" % self.dut_ports[0], "testpmd>")
 
-        # test add and remove ipv6 tc reul
+        # test add and remove ipv6 tc rule
         self.dut.send_expect("set_fdir_input_set %d ipv6-other ipv6-tc add" % self.dut_ports[0], "testpmd>")
         self.dut.send_expect("flow_director_filter %d mode IP add flow ipv6-other src 2000::1 dst 2000::2 \
                               tos 16 proto 255 ttl 255 vlan 0 flexbytes (%s) fwd pf queue 1 fd_id 1"
@@ -940,7 +940,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
                              /Raw(load="%s")], iface="%s")' \
                              % (self.dut_rx_interface, self.payload, self.dut_rx_interface), queueid = 0)
 
-        # test add and remove pv6-next-header  reul
+        # test add and remove ipv6-next-header  rule
         self.dut.send_expect("set_fdir_input_set %d ipv6-other ipv6-next-header add" % self.dut_ports[0], "testpmd>")
         self.dut.send_expect("flow_director_filter %d mode IP add flow ipv6-other src 2000::1 dst 2000::2 \
                               tos 16 proto 253 ttl 255 vlan 0 flexbytes (%s) fwd pf queue 1 fd_id 1"
@@ -1284,7 +1284,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
 
     def ip(self, port, frag, src, proto, tos, dst, chksum, len, version, flags, ihl, ttl, id, options=None):
         """
-        Configure IP protocal.
+        Configure IP protocol.
         """
         self.add_tcl_cmd("protocol config -name ip")
         self.add_tcl_cmd('ip config -sourceIpAddr "%s"' % src)
-- 
2.19.2

                 reply	other threads:[~2019-01-19 12:36 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=20190119123641.9685-1-ramirose@gmail.com \
    --to=ramirose@gmail.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).