test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework: Fix a typo in etgen.py.
@ 2016-05-16 19:29 Rami Rosen
  2016-05-23 20:50 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Rami Rosen @ 2016-05-16 19:29 UTC (permalink / raw)
  To: yong.liu; +Cc: dts, Rami Rosen

This patch fixes a typo in etgen.py.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 framework/etgen.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

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):
 
     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):
 
     def ip(self, port, frag, src, proto, tos, dst, chksum, len, version, flags, ihl, ttl, id, options=None):
         """
-        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):
 
     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):
 
     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):
 
     def tcp(self, port, sport, dport, seq, ack, dataofs, reserved, flags, window, chksum, urgptr, options=None):
         """
-        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):
 
     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):
 
     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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] framework: Fix a typo in etgen.py.
  2016-05-16 19:29 [dts] [PATCH] framework: Fix a typo in etgen.py Rami Rosen
@ 2016-05-23 20:50 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-05-23 20:50 UTC (permalink / raw)
  To: Rosen, Rami; +Cc: dts

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.
> 
> This patch fixes a typo in etgen.py.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>
> ---
>  framework/etgen.py | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> 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):
> 
>      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):
> 
>      def ip(self, port, frag, src, proto, tos, dst, chksum, len, version,
> flags, ihl, ttl, id, options=None):
>          """
> -        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):
> 
>      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):
> 
>      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):
> 
>      def tcp(self, port, sport, dport, seq, ack, dataofs, reserved, flags,
> window, chksum, urgptr, options=None):
>          """
> -        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):
> 
>      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):
> 
>      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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-23 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-16 19:29 [dts] [PATCH] framework: Fix a typo in etgen.py Rami Rosen
2016-05-23 20:50 ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).