net: ethernet: ixgbe: Convert EEE to use linkmodes
authorAndrew Lunn <andrew@lunn.ch>
Tue, 27 Feb 2024 01:29:10 +0000 (19:29 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 12:18:04 +0000 (12:18 +0000)
commit9356b6db9d051e9d939dd0f9ae7a0514103ef228
treef8ff592a1b3d89272e9f58e0cec2e1939614dc72
parent9f8b8adca800d08c9dd736531bb4250ac6adc4dc
net: ethernet: ixgbe: Convert EEE to use linkmodes

Convert the tables to make use of ETHTOOL link mode bits, rather than
the old u32 SUPPORTED speeds. Make use of the linkmode helps to set
bits and compare linkmodes. As a result, the _u32 members of keee are
no longer used, a step towards removing them.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c