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=-19.1 required=3.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 04B18C433E2 for ; Mon, 20 Jul 2020 06:48:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB34F22B4E for ; Mon, 20 Jul 2020 06:48:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b="iO/Thfgt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbgGTGsD (ORCPT ); Mon, 20 Jul 2020 02:48:03 -0400 Received: from alln-iport-2.cisco.com ([173.37.142.89]:30118 "EHLO alln-iport-2.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbgGTGsB (ORCPT ); Mon, 20 Jul 2020 02:48:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1707; q=dns/txt; s=iport; t=1595227680; x=1596437280; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=byr/MAygEM0MedQECxXtdIpfSxr3lPP0gIf8gclOIBE=; b=iO/Thfgtlv2EyK1VPRJkeMpeOwVeqQW3m2Xa9NX5zWyL+1LwNbU7XmlT kuusBxCOPuQDUPQvxWy1cCddaSNovOCD2CGL3o+7oVUGZJvpuSRCfbtA7 Cz+wpoIPFd5qq8VYSF6AxpNXPFKrN79M3RxwISGomjf61u1rUt4MPrK7m c=; X-IronPort-AV: E=Sophos;i="5.75,374,1589241600"; d="scan'208";a="532405819" Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Jul 2020 06:48:00 +0000 Received: from 240m5avmarch.cisco.com (240m5avmarch.cisco.com [10.193.164.12]) (authenticated bits=0) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPSA id 06K6lqaR029533 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2020 06:47:59 GMT From: Govindarajulu Varadarajan To: netdev@vger.kernel.org, edumazet@google.com, linville@tuxdriver.com, mkubecek@suse.cz Cc: govind.varadar@gmail.com, benve@cisco.com, Govindarajulu Varadarajan Subject: [PATCH ethtool v3 2/2] man: add man page for ETHTOOL_GTUNABLE and ETHTOOL_STUNABLE Date: Sun, 19 Jul 2020 16:59:28 -0700 Message-Id: <20200719235928.336953-2-gvaradar@cisco.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200719235928.336953-1-gvaradar@cisco.com> References: <20200719235928.336953-1-gvaradar@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-User: gvaradar@cisco.com X-Outbound-SMTP-Client: 10.193.164.12, 240m5avmarch.cisco.com X-Outbound-Node: rcdn-core-3.cisco.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Govindarajulu Varadarajan --- v3: Document special values 0 (disabled) and 65535 (auto) for pfc-prevention-tout. v2: Add description ethtool.8.in | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/ethtool.8.in b/ethtool.8.in index 689822e..1c93501 100644 --- a/ethtool.8.in +++ b/ethtool.8.in @@ -398,6 +398,18 @@ ethtool \- query or control network driver and hardware settings .RB [ fast-link-down ] .RB [ energy-detect-power-down ] .HP +.B ethtool \-\-get\-tunable +.I devname +.RB [ rx-copybreak ] +.RB [ tx-copybreak ] +.RB [ pfc-prevention-tout ] +.HP +.B ethtool \-\-set\-tunable +.I devname +.BN rx\-copybreak +.BN tx\-copybreak +.BN pfc\-prevention\-tout +.HP .B ethtool \-\-reset .I devname .BN flags @@ -1211,6 +1223,34 @@ Gets the PHY Fast Link Down status / period. .B energy\-detect\-power\-down Gets the current configured setting for Energy Detect Power Down (if supported). +.RE +.TP +.B \-\-get\-tunable +Get the tunable parameters. +.RS 4 +.TP +.B rx\-copybreak +Get the current rx copybreak value in bytes. +.TP +.B tx\-copybreak +Get the current tx copybreak value in bytes. +.TP +.B pfc\-prevention\-tout +Get the current pfc prevention timeout value in msecs. +.RE +.TP +.B \-\-set\-tunable +Set driver's tunable parameters. +.RS 4 +.TP +.BI rx\-copybreak \ N +Set the rx copybreak value in bytes. +.TP +.BI tx\-copybreak \ N +Set the tx copybreak value in bytes. +.TP +.BI pfc\-prevention\-tout \ N +Set pfc prevention timeout in msecs. Value of 0 means disable and 65535 means auto. .RE .TP .B \-\-reset -- 2.27.0