Skip to content

Commit

Permalink
Added: logging current size of buffer if it's "fine"
Browse files Browse the repository at this point in the history
  • Loading branch information
strizhechenko committed Dec 4, 2017
1 parent ad88f9a commit f53efa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netutils_linux_tuning/rx_buffers.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def eval(self):
def apply(self, decision):
""" doing all the job, applying new buffer's size if required """
if decision == self.current:
print_("{0}'s RX ring buffer already has fine size.".format(self.options.dev))
print_("{0}'s RX ring buffer already has fine size {1}.".format(self.options.dev, self.current))
return
assert decision, "Can't eval prefered RX ring buffer size."
command = 'ethtool -G {0} rx {1}'.format(self.options.dev, decision)
Expand Down

0 comments on commit f53efa4

Please sign in to comment.