From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id DD8E59420 for ; Mon, 7 Dec 2015 04:03:41 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 06 Dec 2015 19:03:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,392,1444719600"; d="scan'208";a="868002483" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 06 Dec 2015 19:03:40 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 6 Dec 2015 19:03:40 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 6 Dec 2015 19:03:40 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.83]) by shsmsx102.ccr.corp.intel.com ([169.254.2.42]) with mapi id 14.03.0248.002; Mon, 7 Dec 2015 11:03:38 +0800 From: "Xu, HuilongX" To: "Dong, ShijieX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] add payload for send eth packet Thread-Index: AQHRMJr6Hv8qyP24NkqvHgk0OiKVDZ6+1k4Q Date: Mon, 7 Dec 2015 03:03:38 +0000 Message-ID: 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: 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: Mon, 07 Dec 2015 03:03:42 -0000 Hi shijie, Could you check all test suite have this issue, and send a patch fix them. Thanks a lot > -----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