diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-02-07 17:47:35 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-08 19:06:01 -0800 |
commit | 6fb5dfee274cfbb97646dc4d94fb8e2fd9e33001 (patch) | |
tree | 35e7114a30d61ac8e37a6f8c8b2c59f9029a0d6d /block/blk-mq-sysfs.c | |
parent | 5c80e62a2ac595fad3756d09689c6267e34ce9ff (diff) |
bnxt: convert EEE handling to use linkmode bitmaps
Convert EEE handling to use linkmode bitmaps. This prepares for removing
the legacy bitmaps from struct ethtool_keee. No functional change
intended. When replacing _bnxt_fw_to_ethtool_adv_spds() with
_bnxt_fw_to_linkmode(), remove the fw_pause argument because it's
always passed as 0.
Note:
There's a discussion on whether the underlying implementation is correct,
but it's independent of this mechanical conversion w/o functional change.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/9123bf18-a0d0-404e-a7c4-d6c466b4c5e8@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions