lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200719235112.5rmk3gulnxi65lps@lion.mk-sys.cz>
Date:   Mon, 20 Jul 2020 01:51:12 +0200
From:   Michal Kubecek <mkubecek@...e.cz>
To:     Govindarajulu Varadarajan <gvaradar@...co.com>
Cc:     netdev@...r.kernel.org, edumazet@...gle.com,
        linville@...driver.com, govind.varadar@...il.com, benve@...co.com
Subject: Re: [PATCH ethtool v2 2/2] man: add man page for ETHTOOL_GTUNABLE
 and ETHTOOL_STUNABLE

On Fri, Jul 17, 2020 at 07:59:50AM -0700, Govindarajulu Varadarajan wrote:
> Signed-off-by: Govindarajulu Varadarajan <gvaradar@...co.com>
> ---
> v2:
> Add description
> 
>  ethtool.8.in | 40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
> 
> diff --git a/ethtool.8.in b/ethtool.8.in
> index 689822e..9a3e9a7 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.

Please document also the special values 0 (disabled) and 65535 (auto).

Michal

> +.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.
>  .RE
>  .TP
>  .B \-\-reset
> -- 
> 2.27.0
> 

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ