public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] ethtool: Add link mode maps for forced speeds
@ 2023-10-11 13:13 Pawel Chmielewski
  2023-10-11 13:13 ` [PATCH net-next v4 1/2] ethtool: Add forced speed to supported link modes maps Pawel Chmielewski
  2023-10-11 13:13 ` [PATCH net-next v4 2/2] ice: Refactor finding advertised link speed Pawel Chmielewski
  0 siblings, 2 replies; 6+ messages in thread
From: Pawel Chmielewski @ 2023-10-11 13:13 UTC (permalink / raw)
  To: netdev
  Cc: intel-wired-lan, andrew, aelior, manishc, horms, vladimir.oltean,
	pabeni, davem, edumazet, jdamato, d-tatianin, kuba,
	Pawel Chmielewski

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:
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.

Paul Greenwalt (1):
  ethtool: Add forced speed to supported link modes maps

Pawel Chmielewski (1):
  ice: Refactor finding advertised link speed

 drivers/net/ethernet/intel/ice/ice.h          |   1 +
 drivers/net/ethernet/intel/ice/ice_ethtool.c  | 193 ++++++++++++------
 drivers/net/ethernet/intel/ice/ice_main.c     |   2 +
 .../net/ethernet/qlogic/qede/qede_ethtool.c   |  46 ++---
 include/linux/ethtool.h                       |  27 +++
 net/ethtool/ioctl.c                           |  13 ++
 6 files changed, 183 insertions(+), 99 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-12 13:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 13:13 [PATCH net-next v4 0/2] ethtool: Add link mode maps for forced speeds Pawel Chmielewski
2023-10-11 13:13 ` [PATCH net-next v4 1/2] ethtool: Add forced speed to supported link modes maps Pawel Chmielewski
2023-10-11 15:12   ` Jiri Pirko
2023-10-12 13:33     ` Pawel Chmielewski
2023-10-12 13:42       ` Jiri Pirko
2023-10-11 13:13 ` [PATCH net-next v4 2/2] ice: Refactor finding advertised link speed Pawel Chmielewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox