From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39629A0557; Sat, 22 Feb 2020 13:18:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2FD131BFC8; Sat, 22 Feb 2020 13:18:49 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 31DBA1BFA5 for ; Sat, 22 Feb 2020 13:18:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2020 04:18:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,471,1574150400"; d="scan'208";a="230684658" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 22 Feb 2020 04:18:46 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 22 Feb 2020 04:18:45 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 22 Feb 2020 04:18:45 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.46]) with mapi id 14.03.0439.000; Sat, 22 Feb 2020 20:18:43 +0800 From: "Tu, Lijuan" To: "Chen, BoX C" , "dts@dpdk.org" CC: "Chen, BoX C" Thread-Topic: [dts] [PATCH V1] fix misspelling Thread-Index: AQHV6Wqwnud76Dp1SUODHRpYG1DK/agnIZSA Date: Sat, 22 Feb 2020 12:18:42 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCD0B7@SHSMSX101.ccr.corp.intel.com> References: <1582367188-120618-1-git-send-email-box.c.chen@intel.com> In-Reply-To: <1582367188-120618-1-git-send-email-box.c.chen@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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] fix misspelling 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Chen,Bo > Sent: Saturday, February 22, 2020 6:26 PM > To: dts@dpdk.org > Cc: Chen, BoX C > Subject: [dts] [PATCH V1] fix misspelling >=20 > Fix the spelling error of the word in the packet module. >=20 > Signed-off-by: Chen,Bo > --- > framework/packet.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/framework/packet.py b/framework/packet.py index > 085acbc..381490e 100644 > --- a/framework/packet.py > +++ b/framework/packet.py > @@ -656,7 +656,7 @@ class Packet(object): > pcap_file =3D 'scapy_{}.pcap'.format(tx_port) + time_stamp > self.save_pcapfile(crb, pcap_file) > scapy_cmd =3D 'scapy_{}.cmd'.format(tx_port) + time_stamp > - cmd_str =3D 'from scapy.all import *\np=3Drdpcap("%s")\nprint("p= acket > ready for sending...")\nfor i in p:\n\tprint(i.command())\nsendp(p, > iface=3D"%s", count=3D%d, loop=3D%d, inter=3D%0.3f, verboase=3DFalse)' %= ( > + cmd_str =3D 'from scapy.all import > + *\np=3Drdpcap("%s")\nprint("packet ready for sending...")\nfor i in > + p:\n\tprint(i.command())\nsendp(p, iface=3D"%s", count=3D%d, loop=3D%d, > + inter=3D%0.3f, verbose=3DFalse)' % ( > crb.tmp_file + pcap_file, tx_port, count, loop, inter) > # write send cmd file to local tmp directory then copy to remote= tester > tmp folder > with open(TMP_PATH + scapy_cmd, 'w') as f: > -- > 2.17.2