netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] net: dsa: cleanup EEE (part 2)
@ 2025-01-06 11:51 Russell King (Oracle)
  2025-01-06 11:58 ` [PATCH net-next 1/9] net: dsa: ksz: remove setting of tx_lpi parameters Russell King (Oracle)
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Russell King (Oracle) @ 2025-01-06 11:51 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: AngeloGioacchino Del Regno, Arınç ÜNAL,
	Daniel Golle, David S. Miller, DENG Qingfang, Eric Dumazet,
	Florian Fainelli, Jakub Kicinski, linux-arm-kernel,
	linux-mediatek, Matthias Brugger, netdev, Paolo Abeni, Sean Wang,
	Simon Horman, UNGLinuxDriver, Vladimir Oltean, Woojung Huh

This is part 2 of the DSA EEE cleanups, removing what has become dead
code as a result of the EEE management phylib now does.

Patch 1 removes the useless setting of tx_lpi parameters in the
ksz driver.

Patch 2 does the same for mt753x.

Patch 3 removes the DSA core code that calls the get_mac_eee() operation.
This needs to be done before removing the implementations because doing
otherwise would cause dsa_user_get_eee() to return -EOPNOTSUPP.

Patches 4..8 remove the trivial get_mac_eee() implementations from DSA
drivers.

Patch 9 finally removes the get_mac_eee() method from struct
dsa_switch_ops.

 drivers/net/dsa/b53/b53_common.c       |  7 -------
 drivers/net/dsa/b53/b53_priv.h         |  1 -
 drivers/net/dsa/bcm_sf2.c              |  1 -
 drivers/net/dsa/microchip/ksz_common.c | 15 ---------------
 drivers/net/dsa/mt7530.c               | 13 -------------
 drivers/net/dsa/mv88e6xxx/chip.c       |  8 --------
 drivers/net/dsa/qca/qca8k-8xxx.c       |  1 -
 drivers/net/dsa/qca/qca8k-common.c     |  7 -------
 drivers/net/dsa/qca/qca8k.h            |  1 -
 include/net/dsa.h                      |  2 --
 net/dsa/user.c                         |  8 --------
 11 files changed, 64 deletions(-)

Changes since RFC:
- Removed removal of phydev check in net/dsa/user.c
- Addition of mt753x changes

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

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

end of thread, other threads:[~2025-01-08  2:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 11:51 [PATCH net-next 0/9] net: dsa: cleanup EEE (part 2) Russell King (Oracle)
2025-01-06 11:58 ` [PATCH net-next 1/9] net: dsa: ksz: remove setting of tx_lpi parameters Russell King (Oracle)
2025-01-06 11:58 ` [PATCH net-next 2/9] net: dsa: mt753x: " Russell King (Oracle)
2025-01-06 13:01   ` Chester A. Unal
2025-01-06 11:58 ` [PATCH net-next 3/9] net: dsa: no longer call ds->ops->get_mac_eee() Russell King (Oracle)
2025-01-06 11:58 ` [PATCH net-next 4/9] net: dsa: b53/bcm_sf2: remove b53_get_mac_eee() Russell King (Oracle)
2025-01-06 11:59 ` [PATCH net-next 5/9] net: dsa: ksz: remove ksz_get_mac_eee() Russell King (Oracle)
2025-01-06 11:59 ` [PATCH net-next 6/9] net: dsa: mt753x: " Russell King (Oracle)
2025-01-06 13:03   ` Chester A. Unal
2025-01-06 15:14     ` Russell King (Oracle)
2025-01-06 11:59 ` [PATCH net-next 7/9] net: dsa: mv88e6xxx: remove mv88e6xxx_get_mac_eee() Russell King (Oracle)
2025-01-06 11:59 ` [PATCH net-next 8/9] net: dsa: qca: remove qca8k_get_mac_eee() Russell King (Oracle)
2025-01-06 11:59 ` [PATCH net-next 9/9] net: dsa: remove get_mac_eee() method Russell King (Oracle)
2025-01-08  2:20 ` [PATCH net-next 0/9] net: dsa: cleanup EEE (part 2) patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).