From patchwork Thu Jan 17 23:03:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Nunley, Nicholas D" X-Patchwork-Id: 1027040 X-Patchwork-Delegate: linville@tuxdriver.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43gfjm4Kv1z9sDn for ; Fri, 18 Jan 2019 10:02:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbfAQXCf (ORCPT ); Thu, 17 Jan 2019 18:02:35 -0500 Received: from mga04.intel.com ([192.55.52.120]:28489 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbfAQXCc (ORCPT ); Thu, 17 Jan 2019 18:02:32 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2019 15:02:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,489,1539673200"; d="scan'208";a="136715376" Received: from jtkirshe-desk1.jf.intel.com ([134.134.177.96]) by fmsmga004.fm.intel.com with ESMTP; 17 Jan 2019 15:02:30 -0800 From: Nicholas Nunley To: linville@tuxdriver.com Cc: Jeff Kirsher , Nicholas Nunley , netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com Subject: [ethtool 6/6] ethtool: fix up dump_coalesce output to match actual option names Date: Thu, 17 Jan 2019 15:03:13 -0800 Message-Id: <20190117230313.20248-6-nicholas.d.nunley@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190117230313.20248-1-nicholas.d.nunley@intel.com> References: <20190117230313.20248-1-nicholas.d.nunley@intel.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org When the coalesce settings are printed with --show-coalesce a few of the option names lack the pluralization that is present in the man page and usage info, but are otherwise identical. This inconsistency could lead to some confusion if a user attempts to set the coalesce settings by matching the output they see from --show-coalesce, so fix this. Signed-off-by: Nicholas Nunley --- ethtool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ethtool.c b/ethtool.c index 3aded50..41a6efa 100644 --- a/ethtool.c +++ b/ethtool.c @@ -1372,14 +1372,14 @@ static int dump_coalesce(const struct ethtool_coalesce *ecoal) "tx-frames-irq: %u\n" "\n" "rx-usecs-low: %u\n" - "rx-frame-low: %u\n" + "rx-frames-low: %u\n" "tx-usecs-low: %u\n" - "tx-frame-low: %u\n" + "tx-frames-low: %u\n" "\n" "rx-usecs-high: %u\n" - "rx-frame-high: %u\n" + "rx-frames-high: %u\n" "tx-usecs-high: %u\n" - "tx-frame-high: %u\n" + "tx-frames-high: %u\n" "\n", ecoal->stats_block_coalesce_usecs, ecoal->rate_sample_interval,