From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id EF1B410A3 for ; Sat, 19 Jan 2019 13:36:48 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id p4so18177852wrt.7 for ; Sat, 19 Jan 2019 04:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uJl98unpOTt31/Y6iDV+bP4DShIgb0mPo/M6x+M4iww=; b=Zg20Not9098GkZy0PTXtPvGqX+OwWEgnyEep2aDBbjVgLbyZDIZXaqyN0H16czYrGP +K01QrGomJAJsAvehXVaBGk8WSEyoB6fuLbQ40dauwbxdjRwd7W3D2PGnAZFhEWmdeH2 s0KrD1LohTPqAF4IpvrEkTNZJgEgHmQ9hyenK1X7ikqlJOA1BTFmgat9B3Z3HCb+8jRw fwe9XvNeUZTW64e36KBikRf4Oa/im3zzO0k8x7LB25QfWrqc4OgyPFcjCCGqMuEKU8gf bMsgh7ezWWiFJraAceMju6nr9x5c3ayu3gbb+Z2TuZPtb0ulkJYME6cDCZAAIgJcyzgp g43g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uJl98unpOTt31/Y6iDV+bP4DShIgb0mPo/M6x+M4iww=; b=U/W3pU8w/tf2nTcnLs/KUu0RishDsgCbA+aPKhPgZEn1uaB2xjwhe4+nj6kOj/7UBH MtwQjVHXXI4P9cNEcX5wvlx5yeDlpRVh3z8KUU9CHQVuPdajkK7PKjqZxXBu1Gi2OsI8 8V3Ujeg5C5R6Oj67Q8+V8iwJ1F3+WdsRZLtJXTf3W692JNkqOe1vk3Jc51MJUgE2Gsd4 osrzR2tjuxpnjSXv/INq9Bynf9WBrZO78sbpNWk6CgLQ9SvmdtfG6/bRWU2620GkSq4Q XZMVCVCpxYK/hKrFxhvkLLQ3vQ1j4SBiTeVLTZiEyehwWeQvhr7I7z52ctXcMJcsRGvB zYzQ== X-Gm-Message-State: AJcUukfAF3eORBvTNZ6Opx5h5Bb2sAD9LvnZjEQuZ7tyJkEHZ5gHUIWl eulA4PSC2YSyh5NZpm+bp1GXICGq X-Google-Smtp-Source: ALg8bN5GGkLTU7l3w5fj9wTbANnSgwC6Hl1SeM1Y9REPpgPihpevXEjxR0KKJn5Vl+HiBi9VmFFKuA== X-Received: by 2002:a05:6000:1287:: with SMTP id f7mr21362485wrx.302.1547901408385; Sat, 19 Jan 2019 04:36:48 -0800 (PST) Received: from localhost.localdomain (bzq-109-66-107-204.red.bezeqint.net. [109.66.107.204]) by smtp.gmail.com with ESMTPSA id o4sm85852552wrq.66.2019.01.19.04.36.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jan 2019 04:36:47 -0800 (PST) From: Rami Rosen To: dts@dpdk.org Cc: Rami Rosen Date: Sat, 19 Jan 2019 14:36:41 +0200 Message-Id: <20190119123641.9685-1-ramirose@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH] tests/fdir: fix typos X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2019 12:36:49 -0000 Signed-off-by: Rami Rosen --- 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