test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhang, XiX" <xix.zhang@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_rss_to_rte_flow:Modify the TCP type packet corresponding to the corresponding flow rule
Date: Thu, 16 Jul 2020 01:33:33 +0000	[thread overview]
Message-ID: <E22AF82976AEF646B9B29E4604B9BED504CBF849@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <1594862652-29054-1-git-send-email-xix.zhang@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3873 bytes --]

Tested-by: Zhang, XiX <xix.zhang@intel.com>

-----Original Message-----
From: Zhang, XiX 
Sent: Thursday, July 16, 2020 9:24 AM
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_rss_to_rte_flow:Modify the TCP type packet corresponding to the corresponding flow rule

Create ivp6 TCP flow rules, but send IPv4 TCP packets, modify to send IPv6 TCP packets


Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_rss_to_rte_flow.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
index 21ba8dc..888f154 100644
--- a/tests/TestSuite_rss_to_rte_flow.py
+++ b/tests/TestSuite_rss_to_rte_flow.py
@@ -632,10 +632,10 @@ class TestRSS_to_Rteflow(TestCase):
         self.dut.send_expect(
             "flow create 0 ingress pattern eth / ipv6 / tcp / end actions rss types ipv6-tcp end queues end / end", "created")
         rss_queue = ["0", "1", "2", "3", "4", "5", "6", "7"]
-        pkts = [self.pkt2, self.pkt3]
+        pkts = [self.pkt2, self.pkt7]
         self.send_and_check(pkts, rss_queue, port_id=0)
         rss_queue = ["0"]
-        pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10]
+        pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, 
+ self.pkt8, self.pkt9, self.pkt10]
         self.send_and_check(pkts, rss_queue, port_id=0)
         rss_queue = ["0"]
         pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] @@ -645,10 +645,10 @@ class TestRSS_to_Rteflow(TestCase):
         self.dut.send_expect(
             "flow create 0 ingress pattern end actions rss types end queues 1 4 7 end / end", "created")
         rss_queue = ["1", "4", "7"]
-        pkts = [self.pkt2, self.pkt3]
+        pkts = [self.pkt2, self.pkt7]
         self.send_and_check(pkts, rss_queue, port_id=0)
         rss_queue = ["0"]
-        pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10]
+        pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, 
+ self.pkt8, self.pkt9, self.pkt10]
         self.send_and_check(pkts, rss_queue, port_id=0)
         rss_queue = ["0"]
         pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10] @@ -660,10 +660,10 @@ class TestRSS_to_Rteflow(TestCase):
         self.dut.send_expect(
             "flow create 1 ingress pattern eth / ipv6 / end actions rss types ipv6-other end queues end / end", "created")
         rss_queue = ["1", "4", "7"]
-        pkts = [self.pkt2, self.pkt3]
+        pkts = [self.pkt2, self.pkt7]
         self.send_and_check(pkts, rss_queue, port_id=0)
         rss_queue = ["0"]
-        pkts = [self.pkt1, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10]
+        pkts = [self.pkt1, self.pkt3, self.pkt4, self.pkt5, self.pkt6, 
+ self.pkt8, self.pkt9, self.pkt10]
         self.send_and_check(pkts, rss_queue, port_id=0)
 
         rss_queue = ["0", "1", "2", "3", "4", "5", "6", "7"] @@ -689,7 +689,7 @@ class TestRSS_to_Rteflow(TestCase):
         pkts = [self.pkt1, self.pkt2, self.pkt3, self.pkt4, self.pkt5, self.pkt6, self.pkt7, self.pkt8, self.pkt9, self.pkt10]
         self.send_and_check(pkts, rss_queue, port_id=0)
         self.send_and_check(pkts, rss_queue, port_id=1)
-
+                                                                                                                                                                   
     def test_flow_director_rss_rule_combination(self):
         """
         Set RSS queue rule and flow director rule in meantime.
--
1.8.3.1


[-- Attachment #2: TestRSS_to_Rteflow.log --]
[-- Type: application/octet-stream, Size: 5499942 bytes --]

  reply	other threads:[~2020-07-16  1:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16  1:24 xizhan4x
2020-07-16  1:33 ` Zhang, XiX [this message]
2020-07-16  8:47   ` Peng, Yuan

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=E22AF82976AEF646B9B29E4604B9BED504CBF849@CDSMSX102.ccr.corp.intel.com \
    --to=xix.zhang@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).