[dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Qin Sun
qinx.sun at intel.com
Fri Oct 29 18:46:14 CEST 2021
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 at 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
diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
old mode 100644
new mode 100755
index 25dd9976..1848baa2
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -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):
--
2.17.1
More information about the dts
mailing list