[dts] [PATCH] tests/pmd_bonded: fix typos
Rami Rosen
ramirose at gmail.com
Sat Jan 19 13:41:04 CET 2019
Signed-off-by: Rami Rosen <ramirose at gmail.com>
---
tests/TestSuite_pmd_bonded.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.py
index 928c53a..2d4856a 100644
--- a/tests/TestSuite_pmd_bonded.py
+++ b/tests/TestSuite_pmd_bonded.py
@@ -343,7 +343,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def get_port_connect_socket(self, port_id):
"""
- Get the socket id which the specified port is connectting with.
+ Get the socket id which the specified port is connecting with.
"""
return self.get_detail_from_port_info("Connect to socket: ", "\d+", port_id)
@@ -367,7 +367,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def get_port_link_duplex(self, port_id):
"""
- Get the specified port link mode, duplex or siplex.
+ Get the specified port link mode, duplex or simplex.
"""
return self.get_detail_from_port_info("Link duplex: ", "\S+", port_id)
@@ -385,7 +385,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def get_port_vlan_offload(self, port_id):
"""
- Function: get the port vlan settting info.
+ Function: get the port vlan setting info.
return value:
'strip':'on'
'filter':'on'
@@ -699,7 +699,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
*** unbound_port: the unbonded port id
*** bond_port: the bonded device port id
*** slaves:
- ******* 'actvie':[]
+ ******* 'active':[]
******* 'inactive':[]
"""
pkt_orig = {}
@@ -1161,7 +1161,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def get_all_stats(self, unbound_port, rx_tx, bond_port, **slaves):
"""
- Get all the port stats which the testpmd can dicover.
+ Get all the port stats which the testpmd can discover.
Parameters:
*** unbound_port: pmd port id
*** rx_tx: unbond port stat 'rx' or 'tx'
@@ -1277,7 +1277,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def test_active_backup_one_slave_down(self):
"""
- Verify that receiving and transmitting the pcakets correctly in the active-backup mode,
+ Verify that receiving and transmitting the packets correctly in the active-backup mode,
when bringing any one slave of the bonding device link down.
"""
bond_port = self.create_bonded_device(MODE_ACTIVE_BACKUP, SOCKET_0)
@@ -1420,7 +1420,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
def verify_xor_rx(self, unbound_port, bond_port, **slaves):
"""
- Verify receiving the pcakets correctly in the XOR mode.
+ Verify receiving the packets correctly in the XOR mode.
Parameters:
*** unbound_port: the unbonded port id
*** bond_port: the bonded device port id
@@ -1605,7 +1605,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
*** unbound_port: the unbonded port id
*** bond_port: the bonded device port id
*** slaves:
- ******* 'actvie':[]
+ ******* 'active':[]
******* 'inactive':[]
"""
pkt_count = 100
@@ -1866,7 +1866,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)'
*** unbound_port: the unbonded port id
*** bond_port: the bonded device port id
*** slaves:
- ******* 'actvie':[]
+ ******* 'active':[]
******* 'inactive':[]
"""
pkt_count = 'MANY'
--
2.19.2
More information about the dts
mailing list