Merge branch 'ethtool-forced-speed'
authorDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2023 08:36:36 +0000 (09:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2023 08:36:36 +0000 (09:36 +0100)
commit810799a06641fae275516b40a2b83ec9141cf212
treee7cdb3aa9e73461d50c94e446ee96d2a11da6d7f
parenta0a86022474304e012aad5d41943fdd31a036284
parent982b0192db455d288fc1deb06632f529c35daa15
Merge branch 'ethtool-forced-speed'

Paul Greenwalt says:

====================
ethtool: Add link mode maps for forced speeds

The following patch set was initially a part of [1]. As the purpose of the
original series was to add the support of the new hardware to the intel ice
driver, the refactoring of advertised link modes mapping was extracted to a
new set.

The patch set adds a common mechanism for mapping Ethtool forced speeds
with Ethtool supported link modes, which can be used in drivers code.

[1] https://lore.kernel.org/netdev/20230823180633.2450617-1-pawel.chmielewski@intel.com

Changelog:
v4->v5:
Separated ethtool and qede changes into two patches, fixed indentation,
and moved ethtool_forced_speed_maps_init() from ioctl.c to ethtool.h

v3->v4:
Moved the macro for setting fields into the common header file

v2->v3:
Fixed whitespaces, added missing line at end of file

v1->v2:
Fixed formatting, typo, moved declaration of iterator to loop line.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>