net: pcs: xpcs: Add Pause Mode support for SGMII and 2500BaseX
PATCH 1/1 net: pcs: xpcs: Add Pause Mode support for SGMII and 2500BaseX
SGMII/2500BaseX supports Pause frame as defined in the IEEE802.3x Flow Control standardization.
Add this as a supported feature under the xpcs_sgmii_features struct.
--- drivers/net/pcs/pcs-xpcs.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/pcs/pcs-xpcs.c +4 -0
@@ -65,6 +65,9 @@ static const int xpcs_xlgmii_features[] = { };static const int xpcs_sgmii_features[] = { + ETHTOOL_LINK_MODE_Pause_BIT, + ETHTOOL_LINK_MODE_Asym_Pause_BIT, + ETHTOOL_LINK_MODE_Autoneg_BIT, ETHTOOL_LINK_MODE_10baseT_Half_BIT, ETHTOOL_LINK_MODE_10baseT_Full_BIT, ETHTOOL_LINK_MODE_100baseT_Half_BIT,
@@ -75,6 +78,7 @@ static const int xpcs_sgmii_features[] = { };static const int xpcs_2500basex_features[] = { + ETHTOOL_LINK_MODE_Pause_BIT, ETHTOOL_LINK_MODE_Asym_Pause_BIT, ETHTOOL_LINK_MODE_Autoneg_BIT, ETHTOOL_LINK_MODE_2500baseX_Full_BIT,
Signature · 1 line
2.25.1
Quoted 7 lines · Wong Vee Khee
SGMII/2500BaseX supports Pause frame as defined in the IEEE802.3x Flow Control standardization.
Add this as a supported feature under the
xpcs_sgmii_featuresstruct.Cc Vladimir Oltean <[email protected]>Signed-off-by Wong Vee Khee <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (refs/heads/master):
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
Quoted 9 lines · On Fri, 13 Aug 2021 10:11:29 +0800 you wrote:
SGMII/2500BaseX supports Pause frame as defined in the IEEE802.3x Flow Control standardization.
Add this as a supported feature under the
xpcs_sgmii_featuresstruct.Cc Vladimir Oltean <[email protected]>Signed-off-by Wong Vee Khee <[email protected]>[...]
Here is the summary with links:
- [net-next,1/1] net: pcs: xpcs: Add Pause Mode support for SGMII and 2500BaseX
https://git.kernel.org/netdev/net-next/c/849d2f83f52e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html