From: Shijie Dong <shijiex.dong@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH V1] add payload for send eth packet
Date: Thu, 3 Dec 2015 18:34:12 +0800 [thread overview]
Message-ID: <1449138852-8940-1-git-send-email-shijiex.dong@intel.com> (raw)
scapy can't support send packet only inlcude eth herd in ubutu 15.10
Signed-off-by: Shijie Dong <shijiex.dong@intel.com>
---
tests/TestSuite_dynamic_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_dynamic_config.py b/tests/TestSuite_dynamic_config.py
index d1ad49c..ba740b1 100644
--- a/tests/TestSuite_dynamic_config.py
+++ b/tests/TestSuite_dynamic_config.py
@@ -111,7 +111,7 @@ class TestDynamicConfig(TestCase):
self.tester.scapy_foreground()
self.tester.scapy_append(
- 'sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s")' % (destMac, itf))
+ 'sendp([Ether(dst="%s", src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s")' % (destMac, itf))
self.tester.scapy_execute()
--
1.9.3
next reply other threads:[~2015-12-03 10:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 10:34 Shijie Dong [this message]
2015-12-04 0:51 ` Liu, Yong
2015-12-04 1:48 ` Dong, ShijieX
2015-12-07 1:14 ` Liu, Yong
2015-12-07 2:52 Shijie Dong
2015-12-07 3:03 ` Xu, HuilongX
2015-12-22 1:24 ` Liu, Yong
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=1449138852-8940-1-git-send-email-shijiex.dong@intel.com \
--to=shijiex.dong@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).