From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V2] framework/packet: optimize support for more gtp modules
Date: Tue, 28 Mar 2023 15:39:45 +0800 [thread overview]
Message-ID: <20230328073945.25760-1-weiyuanx.li@intel.com> (raw)
For packet.py, only support limited gtp modules, some test cases require support for the echo-request/echo-reponse modules.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
v2:
-fix format issue.
framework/packet.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/framework/packet.py b/framework/packet.py
index f56bf178..ae99b6b7 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -45,7 +45,12 @@ if not os.path.exists(TMP_PATH):
os.system("mkdir -p %s" % TMP_PATH)
scapy_modules_required = {
- "scapy.contrib.gtp": ["GTP_U_Header", "GTPPDUSessionContainer"],
+ "scapy.contrib.gtp": [
+ "GTP_U_Header",
+ "GTPPDUSessionContainer",
+ "GTPEchoRequest",
+ "GTPEchoResponse",
+ ],
"scapy.contrib.lldp": ["LLDPDU", "LLDPDUManagementAddress"],
"scapy.contrib.pfcp": ["PFCP"],
"scapy.contrib.nsh": ["NSH"],
--
2.27.0
next reply other threads:[~2023-03-28 7:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 7:39 Weiyuan Li [this message]
2023-04-11 7:48 ` lijuan.tu
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=20230328073945.25760-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@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).