Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sfc: 10Xpress: Report support for pause frames

Commits 27fbc7d 'mdio: Expose pause frame advertising flags to ethtool'
and c634263 'sfc: 10Xpress: Initialise pause advertising flags'
added to our reported advertising flags.

efx_mdio_set_settings() requires that all advertising flags are
also present in the supported flags, so make sure that is true.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Ben Hutchings and committed by
David S. Miller
188586b2 a3d12891

+1
+1
drivers/net/sfc/tenxpress.c
··· 752 752 753 753 mdio45_ethtool_gset_npage(&efx->mdio, ecmd, adv, lpa); 754 754 755 + ecmd->supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause; 755 756 if (efx->phy_type != PHY_TYPE_SFX7101) { 756 757 ecmd->supported |= (SUPPORTED_100baseT_Full | 757 758 SUPPORTED_1000baseT_Full);