test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Dong, ShijieX" <shijiex.dong@intel.com>
To: "Liu, Yong" <yong.liu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] add payload for send eth packet
Date: Fri, 4 Dec 2015 01:48:34 +0000	[thread overview]
Message-ID: <1F89F50008D18D4EBA598B7DF3E7408901B008E2@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <5660E392.9010102@intel.com>

OS 	: Ubunto 15.10
Python :2.7.10 
Scapy 	:2.2.0

-----Original Message-----
From: Liu, Yong 
Sent: Friday, December 04, 2015 8:52 AM
To: Dong, ShijieX; dts@dpdk.org
Subject: Re: [dts] [PATCH V1] add payload for send eth packet

Hi shide, can you supply the information that which version scapy not support raw packet?
We can add it into dts document.

On 12/03/2015 06:34 PM, Shijie Dong wrote:
> 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()
>   

  reply	other threads:[~2015-12-04  1:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-03 10:34 Shijie Dong
2015-12-04  0:51 ` Liu, Yong
2015-12-04  1:48   ` Dong, ShijieX [this message]
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=1F89F50008D18D4EBA598B7DF3E7408901B008E2@SHSMSX103.ccr.corp.intel.com \
    --to=shijiex.dong@intel.com \
    --cc=dts@dpdk.org \
    --cc=yong.liu@intel.com \
    /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).