[PATCH v2] examples/ethtool: fix pause configuration

Thomas Monjalon thomas at monjalon.net
Wed Nov 22 23:50:23 CET 2023


10/11/2023 04:30, Huisong Li:
> Currently, the pause command in ethtool to enable Rx/Tx pause has the
> following problem. Namely, Assume that the device supports flow control
> auto-negotiation to set pause parameters, which will the device that does
> not support flow control auto-negotiation fails to run this command.
> 
> This patch supports the configuration of flow control auto-negotiation
> and fixes the print format and style of the pause cmd to make it more
> readable.
> 
> Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks.





More information about the dev mailing list