From: Rami Rosen <rami.rosen@intel.com>
To: yong.liu@intel.com
Cc: dts@dpdk.org, Rami Rosen <rami.rosen@intel.com>
Subject: [dts] [PATCH] framework: Fix a typo in etgen.py.
Date: Mon, 16 May 2016 22:29:40 +0300 [thread overview]
Message-ID: <1463426980-24769-1-git-send-email-rami.rosen@intel.com> (raw)
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
next reply other threads:[~2016-05-16 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 19:29 Rami Rosen [this message]
2016-05-23 20:50 ` Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463426980-24769-1-git-send-email-rami.rosen@intel.com \
--to=rami.rosen@intel.com \
--cc=dts@dpdk.org \
--cc=yong.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).