From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C2798569A for ; Fri, 4 Dec 2015 02:49:03 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 03 Dec 2015 17:49:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,378,1444719600"; d="scan'208";a="864334224" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 03 Dec 2015 17:48:58 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 3 Dec 2015 17:48:44 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 3 Dec 2015 17:48:44 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.138]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.223]) with mapi id 14.03.0248.002; Fri, 4 Dec 2015 09:48:35 +0800 From: "Dong, ShijieX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] add payload for send eth packet Thread-Index: AQHRLi3wwTTwBdIgBEu82sQQZMjwQ566Dxkw Date: Fri, 4 Dec 2015 01:48:34 +0000 Message-ID: <1F89F50008D18D4EBA598B7DF3E7408901B008E2@SHSMSX103.ccr.corp.intel.com> References: <1449138852-8940-1-git-send-email-shijiex.dong@intel.com> <5660E392.9010102@intel.com> In-Reply-To: <5660E392.9010102@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Fri, 04 Dec 2015 01:49:04 -0000 OS : Ubunto 15.10 Python :2.7.10=20 Scapy :2.2.0 -----Original Message----- From: Liu, Yong=20 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 suppo= rt 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=20 > 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): > =20 > self.tester.scapy_foreground() > self.tester.scapy_append( > - 'sendp([Ether(dst=3D"%s", src=3D"52:00:00:00:00:00")], iface= =3D"%s")' % (destMac, itf)) > + 'sendp([Ether(dst=3D"%s",=20 > + src=3D"52:00:00:00:00:00")/Raw(load=3D"X"*26)], iface=3D"%s")' % (destM= ac,=20 > + itf)) > =20 > self.tester.scapy_execute() > =20