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 AAED4594B for ; Tue, 22 Dec 2015 02:24:54 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 21 Dec 2015 17:24:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,462,1444719600"; d="scan'208";a="712404488" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 21 Dec 2015 17:24:53 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 21 Dec 2015 17:24:53 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 21 Dec 2015 17:24:52 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.28]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.105]) with mapi id 14.03.0248.002; Tue, 22 Dec 2015 09:24:50 +0800 From: "Liu, Yong" To: "Dong, ShijieX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] add payload for send eth packet Thread-Index: AQHRMJr6cJ+L7dV7tky2Yh/VoyCtd57WTWQw Date: Tue, 22 Dec 2015 01:24:50 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10F937F5@SHSMSX103.ccr.corp.intel.com> References: <1449456743-27572-1-git-send-email-shijiex.dong@intel.com> In-Reply-To: <1449456743-27572-1-git-send-email-shijiex.dong@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWFiZDA5M2MtMjEzNi00MjVmLWEzMmMtNTcyNWE0ODNlY2RmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRFdiSzhvbFB1RlE5N0hqUWQ5emYrc0VNTkhXV0x6XC9JdkFIckxGZWpNOUU9In0= x-ctpclassification: CTP_IC 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: Tue, 22 Dec 2015 01:24:55 -0000 Applied, since only this case send packet without content. Please take care= when preparing your patch, there're some topy issues in the description. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Shijie Dong > Sent: Monday, December 07, 2015 10:52 AM > To: dts@dpdk.org > Subject: [dts] [PATCH V1] add payload for send eth packet >=20 > scapy can't support send packet only inlcude eth herd in ubutu 15.10 >=20 > Signed-off-by: Shijie Dong > --- > tests/TestSuite_mac_filter.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.p= y > index 1d4e77d..3ca7387 100644 > --- a/tests/TestSuite_mac_filter.py > +++ b/tests/TestSuite_mac_filter.py > @@ -86,7 +86,7 @@ class TestWhitelist(TestCase): > """ > itf =3D > self.tester.get_interface(self.tester.get_local_port(portid)) > self.tester.scapy_foreground() > - self.tester.scapy_append('sendp([Ether(dst=3D"%s", > src=3D"52:00:00:00:00:00")], iface=3D"%s", count=3D%d)' % (destMac, > + self.tester.scapy_append('sendp([Ether(dst=3D"%s", > src=3D"52:00:00:00:00:00")/Raw(load=3D"X"*26)], iface=3D"%s", count=3D%d)= ' % > (destMac, >=20 > itf, self.frames_to_send)) > self.tester.scapy_execute() > time.sleep(5) > -- > 1.9.3