[V1] tests/cvl_advanced_iavf_rss:modify cvlan rss rule

Message ID 20200724091039.28068-1-weix.xie@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/cvl_advanced_iavf_rss:modify cvlan rss rule |

Commit Message

Xie, WeiX July 24, 2020, 9:10 a.m. UTC
  According to test plan, modify cvlan_rss flow rule, and vlan tag type=0x9100.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Xie, WeiX July 24, 2020, 9:10 a.m. UTC | #1
Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Friday, July 24, 2020 5:11 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/cvl_advanced_iavf_rss:modify cvlan rss rule

According to test plan, modify cvlan_rss flow rule, and vlan tag type=0x9100.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 349cb40..27aab5e 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -261,9 +261,9 @@ tv_iavf_mac_ipv6_tcp_frag = {
 
 tv_iavf_mac_cvlan_rss = {
     "name": "iavf_mac_cvlan_rss",
-    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / end actions rss types c-vlan end key_len 0 queues end / end",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth / vlan / ipv4 / end actions rss types c-vlan end key_len 0 queues end / end",
     "scapy_str": ['Ether()/Dot1Q(vlan=RandShort())/IP(src=RandIP())/UDP()/("X"*480)',
-                  'Ether(type=0x8100)/Dot1Q(vlan=RandShort())/Dot1Q(vlan=56)/IP(src=RandIP())/UDP()/("X"*480)',
+                  'Ether(type=0x9100)/Dot1Q(vlan=RandShort())/Dot1Q(vlan=56)/IP(src=RandIP())/UDP()/("X"*480)',
                   ],
     "send_count": 100,
     "check_func": rfc.check_iavf_packets_rss_queue
  
Tu, Lijuan Aug. 12, 2020, 3:32 a.m. UTC | #2
> According to test plan, modify cvlan_rss flow rule, and vlan tag type=0x9100.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_cvl_advanced_iavf_rss.py | 4 ++--

Applied, thanks
  

Patch

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 349cb40..27aab5e 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -261,9 +261,9 @@  tv_iavf_mac_ipv6_tcp_frag = {
 
 tv_iavf_mac_cvlan_rss = {
     "name": "iavf_mac_cvlan_rss",
-    "rte_flow_pattern": "flow create 0 ingress pattern eth / ipv4 / end actions rss types c-vlan end key_len 0 queues end / end",
+    "rte_flow_pattern": "flow create 0 ingress pattern eth / vlan / ipv4 / end actions rss types c-vlan end key_len 0 queues end / end",
     "scapy_str": ['Ether()/Dot1Q(vlan=RandShort())/IP(src=RandIP())/UDP()/("X"*480)',
-                  'Ether(type=0x8100)/Dot1Q(vlan=RandShort())/Dot1Q(vlan=56)/IP(src=RandIP())/UDP()/("X"*480)',
+                  'Ether(type=0x9100)/Dot1Q(vlan=RandShort())/Dot1Q(vlan=56)/IP(src=RandIP())/UDP()/("X"*480)',
                   ],
     "send_count": 100,
     "check_func": rfc.check_iavf_packets_rss_queue