From: Qin Sun <qinx.sun@intel.com>
To: dts@dpdk.org
Cc: Qin Sun <qinx.sun@intel.com>
Subject: [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17
Date: Fri, 29 Oct 2021 16:46:14 +0000 [thread overview]
Message-ID: <20211029164615.32677-2-qinx.sun@intel.com> (raw)
In-Reply-To: <20211029164615.32677-1-qinx.sun@intel.com>
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>
---
| 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss.py
--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
next prev parent reply other threads:[~2021-10-29 8:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 16:46 [dts] [PATCH V1 0/2] replace 'proto' with 'nh' Qin Sun
2021-10-29 16:46 ` Qin Sun [this message]
2021-10-29 8:55 ` [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17 Sun, QinX
2021-10-29 16:46 ` [dts] [PATCH V1 2/2] test_plans/cvl_advanced_iavf_rss: corrects case name Qin Sun
2021-11-05 13:34 ` Tu, Lijuan
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=20211029164615.32677-2-qinx.sun@intel.com \
--to=qinx.sun@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).