Thread (3 messages) flat view 3 messages, 3 authors, 2019-05-21

Re: [PATCH net] net: stmmac: fix ethtool flow control not able to get/set

From: David Miller <davem@davemloft.net>
Date: 2019-05-21 00:55:16
Also in: lkml

From: Weifeng Voon <redacted>
Date: Tue, 21 May 2019 12:55:42 +0800
From: "Tan, Tee Min" <redacted>

Currently ethtool was not able to get/set the flow control due to a
missing "!". It will always return -EOPNOTSUPP even the device is
flow control supported.

This patch fixes the condition check for ethtool flow control get/set
function for ETHTOOL_LINK_MODE_Asym_Pause_BIT.

Fixes: 3c1bcc8614db (“net: ethernet: Convert phydev advertize and supported from u32 to link mode”)
Signed-off-by: Tan, Tee Min <redacted>
Reviewed-by: Ong Boon Leong <redacted>
Signed-off-by: Voon, Weifeng <weifeng.voon@intel.com@intel.com>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help