From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AB79C43381 for ; Fri, 1 Mar 2019 08:15:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B9FA2186A for ; Fri, 1 Mar 2019 08:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387467AbfCAIP4 (ORCPT ); Fri, 1 Mar 2019 03:15:56 -0500 Received: from mga09.intel.com ([134.134.136.24]:32464 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732498AbfCAIPm (ORCPT ); Fri, 1 Mar 2019 03:15:42 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Mar 2019 00:15:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,426,1544515200"; d="scan'208";a="120055240" Received: from jtkirshe-desk1.jf.intel.com ([134.134.177.96]) by orsmga006.jf.intel.com with ESMTP; 01 Mar 2019 00:15:40 -0800 From: Jeff Kirsher To: linville@tuxdriver.com Cc: Nicholas Nunley , netdev@vger.kernel.org Subject: [PATCH v3 6/6] ethtool: fix up dump_coalesce output to match actual option names Date: Fri, 1 Mar 2019 00:15:32 -0800 Message-Id: <20190301081532.11771-6-jeffrey.t.kirsher@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190301081532.11771-1-jeffrey.t.kirsher@intel.com> References: <20190301081532.11771-1-jeffrey.t.kirsher@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Nicholas Nunley 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 2296578..8e20616 100644 --- a/ethtool.c +++ b/ethtool.c @@ -1373,14 +1373,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, -- 2.20.1