On Fri, Jul 17, 2020 at 07:59:50AM -0700, Govindarajulu Varadarajan wrote:
> Signed-off-by: Govindarajulu Varadarajan <gvara...@cisco.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
> 

Attachment: signature.asc
Description: PGP signature

Reply via email to