[COMMIT seastar master] perftune.py: correct typos

1 view
Skip to first unread message

Commit Bot

<bot@cloudius-systems.com>
unread,
Sep 12, 2022, 5:49:21 AMSep 12
to seastar-dev@googlegroups.com, Kefu Chai
From: Kefu Chai <tcha...@gmail.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: master

perftune.py: correct typos

* s/coma/comma/
* s/which name looks like/whose name looks like/

Signed-off-by: Kefu Chai <tcha...@gmail.com>

Closes #1212

---
diff --git a/scripts/perftune.py b/scripts/perftune.py
--- a/scripts/perftune.py
+++ b/scripts/perftune.py
@@ -387,7 +387,7 @@ def combine(modes):
@staticmethod
def cpu_mask_is_zero(cpu_mask):
"""
- The cpu_mask is a coma-separated list of 32-bit hex values with possibly omitted zero components,
+ The cpu_mask is a comma-separated list of 32-bit hex values with possibly omitted zero components,
e.g. 0xffff,,0xffff
We want to estimate if the whole mask is all-zeros.
:param cpu_mask: hwloc-calc generated CPU mask
@@ -757,7 +757,7 @@ def __intel_irq_to_queue_idx(self, irq):
Intel's fast path IRQs have the following name convention:
<bla-bla>-TxRx-<queue index>

- Intel NICs also have the IRQ for Flow Director (which is not a regular fast path IRQ) which name looks like
+ Intel NICs also have the IRQ for Flow Director (which is not a regular fast path IRQ) whose name looks like
this:
<bla-bla>:fdir-TxRx-<index>

@@ -1002,7 +1002,7 @@ def __setup_one_hw_iface(self, iface):
else:
num_rx_channels = 0

- # If a mask is wider than 32 bits it's going to be presented as a coma-separated list of 32-bit masks
+ # If a mask is wider than 32 bits it's going to be presented as a comma-separated list of 32-bit masks
# with possibly omitted zero components, e.g. 0x01,0x100,,0x12122
for m in self.irqs_cpu_mask.split(","):
if m:
@@ -1247,7 +1247,7 @@ def __nvme_fast_path_irq_filter(self, irq):
nvme_irq_re = re.compile(r'(\s|^)nvme\d+q(\d+)(\s|$)')

# There may be more than an single HW queue bound to the same IRQ. In this case queue names are going to be
- # coma separated
+ # comma separated
split_line = self.__irqs2procline[irq].split(",")

for line in split_line:
Reply all
Reply to author
Forward
0 new messages