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 8B96B2906 for ; Mon, 23 May 2016 22:50:32 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 23 May 2016 13:50:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,357,1459839600"; d="scan'208";a="987133113" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 23 May 2016 13:50:31 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 May 2016 13:50:31 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 May 2016 13:50:31 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.58]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.128]) with mapi id 14.03.0248.002; Tue, 24 May 2016 04:50:29 +0800 From: "Liu, Yong" To: "Rosen, Rami" CC: "dts@dpdk.org" Thread-Topic: [PATCH] framework: Fix a typo in etgen.py. Thread-Index: AQHRr6j1uMc6ylCAjEW/qhDnN3LC05/HCh7A Date: Mon, 23 May 2016 20:50:29 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E2221B8E8@SHSMSX103.ccr.corp.intel.com> References: <1463426980-24769-1-git-send-email-rami.rosen@intel.com> In-Reply-To: <1463426980-24769-1-git-send-email-rami.rosen@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2QwY2Y0MmUtMDg4Zi00OGZhLWJkMGUtZDdlNjI1YmRjNTYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IldsQUd5TWk5Tm5teXdjNEJSSjFNalwvNlwvNVJjYndWYlREeTlcL1lqMW5yWUU9In0= 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] framework: Fix a typo in etgen.py. 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, 23 May 2016 20:50:33 -0000 Applied. Thanks. > -----Original Message----- > From: Rosen, Rami > Sent: Monday, May 16, 2016 12:30 PM > To: Liu, Yong > Cc: dts@dpdk.org; Rosen, Rami > Subject: [PATCH] framework: Fix a typo in etgen.py. >=20 > This patch fixes a typo in etgen.py. >=20 > Signed-off-by: Rami Rosen > --- > framework/etgen.py | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/framework/etgen.py b/framework/etgen.py > index 62db2ed..3102fc2 100644 > --- a/framework/etgen.py > +++ b/framework/etgen.py > @@ -236,7 +236,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def ether(self, port, src, dst, type): > """ > - Configure Ether protocal. > + Configure Ether protocol. > """ > self.add_tcl_cmd("protocol config -ethernetType ethernetII") > self.add_tcl_cmd('stream config -sa "%s"' % > self.macToTclFormat(src)) > @@ -244,7 +244,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def ip(self, port, frag, src, proto, tos, dst, chksum, len, version, > flags, ihl, ttl, id, options=3DNone): > """ > - Configure IP protocal. > + Configure IP protocol. > """ > self.add_tcl_cmd("protocol config -name ip") > self.add_tcl_cmd('ip config -sourceIpAddr "%s"' % src) > @@ -266,7 +266,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def ipv6(self, port, version, tc, fl, plen, nh, hlim, src, dst): > """ > - Configure IPv6 protocal. > + Configure IPv6 protocol. > """ > self.add_tcl_cmd("protocol config -name ipV6") > self.add_tcl_cmd('ipV6 setDefault') > @@ -284,7 +284,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def udp(self, port, dport, sport, len, chksum): > """ > - Configure UDP protocal. > + Configure UDP protocol. > """ > self.add_tcl_cmd("udp setDefault") > self.add_tcl_cmd("udp config -sourcePort %d" % sport) > @@ -302,7 +302,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def tcp(self, port, sport, dport, seq, ack, dataofs, reserved, flags= , > window, chksum, urgptr, options=3DNone): > """ > - Configure TCP protocal. > + Configure TCP protocol. > """ > self.add_tcl_cmd("tcp setDefault") > self.add_tcl_cmd("tcp config -sourcePort %d" % sport) > @@ -311,7 +311,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def sctp(self, port, sport, dport, tag, chksum): > """ > - Configure SCTP protocal. > + Configure SCTP protocol. > """ > self.add_tcl_cmd("tcp config -sourcePort %d" % sport) > self.add_tcl_cmd("tcp config -destPort %d" % dport) > @@ -319,7 +319,7 @@ class IxiaPacketGenerator(SSHConnection): >=20 > def dot1q(self, port, prio, id, vlan, type): > """ > - Configure 8021Q protocal. > + Configure 8021Q protocol. > """ > self.add_tcl_cmd("protocol config -enable802dot1qTag true") > self.add_tcl_cmd("vlan config -vlanID %d" % vlan) > -- > 2.4.3