net: pcs: xpcs: Add Pause Mode support for SGMII and 2500BaseX
authorWong Vee Khee <vee.khee.wong@linux.intel.com>
Fri, 13 Aug 2021 02:11:29 +0000 (10:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Aug 2021 10:03:22 +0000 (11:03 +0100)
commit849d2f83f52ec6ade86a90f29b2c9573f392f22c
tree061dae7dd6433230bab9265b8b60b427546c64b5
parent5fa5fb8b3b209ce2efd7f61acb3797028bb15927
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.

Cc: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcs/pcs-xpcs.c