[V1,1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Commit Message
replace the 'proto' with 'nh', 'proto' used for ipv4, 'nh' used for ipv6.
in pattern 'eth/ipv4/gre/ipv6/udp', the next header of ipv6 is 'udp',so the 'nh' should be set as 17
Signed-off-by: Qin Sun <qinx.sun@intel.com>
---
tests/TestSuite_cvl_advanced_iavf_rss.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss.py
Comments
> -----Original Message-----
> From: Sun, QinX <qinx.sun@intel.com>
> Sent: Saturday, October 30, 2021 12:46 AM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Tested-by: Qin Sun <qinx.sun@intel.com>
old mode 100644
new mode 100755
@@ -5072,9 +5072,9 @@ mac_ipv4_gre_ipv4_udp_symmetric = eval(str(mac_ipv4_gre_ipv4_tcp_symmetric).repl
mac_ipv6_gre_ipv4_udp_symmetric = eval(str(mac_ipv6_gre_ipv4_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17'))
-mac_ipv4_gre_ipv6_udp_symmetric = eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17'))
+mac_ipv4_gre_ipv6_udp_symmetric = eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('nh=6','nh=17'))
-mac_ipv6_gre_ipv6_udp_symmetric = eval(str(mac_ipv6_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17'))
+mac_ipv6_gre_ipv6_udp_symmetric = eval(str(mac_ipv6_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('nh=6','nh=17'))
#gre tunnel end
class AdvancedIavfRSSTest(TestCase):