[V1] tests/cvl_advanced_iavf_rss:modify rule, add 'ipv4' before rss hash type 'l3-dst-only'

Message ID 20200904143930.28282-1-qinx.sun@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/cvl_advanced_iavf_rss:modify rule, add 'ipv4' before rss hash type 'l3-dst-only' |

Commit Message

Sun, QinX Sept. 4, 2020, 2:39 p.m. UTC
  Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Sun, QinX Sept. 4, 2020, 9:11 a.m. UTC | #1
Tested-by: qinx.sun@intel.com

-----Original Message-----
From: Sun, QinX <qinx.sun@intel.com> 
Sent: Friday, September 4, 2020 10:40 PM
To: dts@dpdk.org
Cc: Sun, QinX <qinx.sun@intel.com>
Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:modify rule,add 'ipv4' before rss hash type 'l3-dst-only'

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 2f6c1cf..d9fd158 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -1024,7 +1024,7 @@ class AdvancedIavfRSSTest(TestCase):
     def test_vf_reset(self):
         self.dut_session.send_expect("ip link set %s vf 0 trust on" % self.pf_interface, "# ")
         self.create_testpmd_command(self.vf0_prop, pmd_param="--nb-cores=2")
-        flow_rule = "flow create 0 ingress pattern eth / ipv4 / end actions rss types l3-dst-only end key_len 0 queues end / end"
+        flow_rule = "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end"
         self.pmd_output.execute_cmd(flow_rule)
         self.pmd_output.execute_cmd("show port 0 rss-hash")
  
Tu, Lijuan Sept. 10, 2020, 2:50 a.m. UTC | #2
> Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:modify rule, add 'ipv4'
> before rss hash type 'l3-dst-only'
> 
> Signed-off-by: sunqin <qinx.sun@intel.com>

Applied
  

Patch

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 2f6c1cf..d9fd158 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -1024,7 +1024,7 @@  class AdvancedIavfRSSTest(TestCase):
     def test_vf_reset(self):
         self.dut_session.send_expect("ip link set %s vf 0 trust on" % self.pf_interface, "# ")
         self.create_testpmd_command(self.vf0_prop, pmd_param="--nb-cores=2")
-        flow_rule = "flow create 0 ingress pattern eth / ipv4 / end actions rss types l3-dst-only end key_len 0 queues end / end"
+        flow_rule = "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end"
         self.pmd_output.execute_cmd(flow_rule)
         self.pmd_output.execute_cmd("show port 0 rss-hash")