test suite reviews and discussions
 help / color / mirror / Atom feed
From: Shijie Dong <shijiex.dong@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH V1] add payload for send eth packet
Date: Mon,  7 Dec 2015 10:52:23 +0800	[thread overview]
Message-ID: <1449456743-27572-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_mac_filter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py
index 1d4e77d..3ca7387 100644
--- a/tests/TestSuite_mac_filter.py
+++ b/tests/TestSuite_mac_filter.py
@@ -86,7 +86,7 @@ class TestWhitelist(TestCase):
         """
         itf = self.tester.get_interface(self.tester.get_local_port(portid))
         self.tester.scapy_foreground()
-        self.tester.scapy_append('sendp([Ether(dst="%s", src="52:00:00:00:00:00")], iface="%s", count=%d)' % (destMac,
+        self.tester.scapy_append('sendp([Ether(dst="%s", src="52:00:00:00:00:00")/Raw(load="X"*26)], iface="%s", count=%d)' % (destMac,
                                                                                              itf, self.frames_to_send))
         self.tester.scapy_execute()
         time.sleep(5)
-- 
1.9.3

             reply	other threads:[~2015-12-07  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07  2:52 Shijie Dong [this message]
2015-12-07  3:03 ` Xu, HuilongX
2015-12-22  1:24 ` Liu, Yong
  -- strict thread matches above, loose matches on Subject: below --
2015-12-03 10:34 Shijie Dong
2015-12-04  0:51 ` Liu, Yong
2015-12-04  1:48   ` Dong, ShijieX
2015-12-07  1:14     ` 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=1449456743-27572-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).