From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4B1FE93DE for ; Mon, 7 Dec 2015 02:15:13 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 06 Dec 2015 17:15:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,392,1444719600"; d="scan'208";a="865964792" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 06 Dec 2015 17:15:09 -0800 Message-ID: <5664DD93.3030300@intel.com> Date: Mon, 07 Dec 2015 09:14:59 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Dong, ShijieX" , "dts@dpdk.org" References: <1449138852-8940-1-git-send-email-shijiex.dong@intel.com> <5660E392.9010102@intel.com> <1F89F50008D18D4EBA598B7DF3E7408901B008E2@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <1F89F50008D18D4EBA598B7DF3E7408901B008E2@SHSMSX103.ccr.corp.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1] add payload for send eth packet X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2015 01:15:13 -0000 Thanks, applied with additional information. On 12/04/2015 09:48 AM, Dong, ShijieX wrote: > 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 >> --- >> 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() >>