Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 net 0/5] Ocelot PTP fixes
@ 2024-12-05 14:55 Vladimir Oltean
  2024-12-05 14:55 ` [PATCH v2 net 1/5] net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb() Vladimir Oltean
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Vladimir Oltean @ 2024-12-05 14:55 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, Claudiu Manoil, Alexandre Belloni, Horatiu Vultur,
	Daniel Machon, UNGLinuxDriver, Xiaoliang Yang, Yangbo Lu,
	Richard Cochran

This is another attempt at "net: mscc: ocelot: be resilient to loss of
PTP packets during transmission".
https://lore.kernel.org/netdev/20241203164755.16115-1-vladimir.oltean@nxp.com/

The central change is in patch 4/5. It recovers a port from a very
reproducible condition where previously, it would become unable to take
any hardware TX timestamp.

Then we have patches 1/5 and 5/5 which are extra bug fixes.

Patches 2/5 and 3/5 are logical changes split out of the monolithic
patch previously submitted as v1, so that patch 4/5 is hopefully easier
to follow.

Vladimir Oltean (5):
  net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()
  net: mscc: ocelot: improve handling of TX timestamp for unknown skb
  net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock
    are IRQ-safe
  net: mscc: ocelot: be resilient to loss of PTP packets during
    transmission
  net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()

 drivers/net/ethernet/mscc/ocelot_ptp.c | 209 +++++++++++++++----------
 include/linux/dsa/ocelot.h             |   1 +
 include/soc/mscc/ocelot.h              |   2 -
 3 files changed, 130 insertions(+), 82 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2024-12-08  2:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 14:55 [PATCH v2 net 0/5] Ocelot PTP fixes Vladimir Oltean
2024-12-05 14:55 ` [PATCH v2 net 1/5] net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb() Vladimir Oltean
2024-12-05 14:55 ` [PATCH v2 net 2/5] net: mscc: ocelot: improve handling of TX timestamp for unknown skb Vladimir Oltean
2024-12-05 14:55 ` [PATCH v2 net 3/5] net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe Vladimir Oltean
2024-12-05 14:55 ` [PATCH v2 net 4/5] net: mscc: ocelot: be resilient to loss of PTP packets during transmission Vladimir Oltean
2024-12-05 14:55 ` [PATCH v2 net 5/5] net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set() Vladimir Oltean
2024-12-08  2:06 ` [PATCH v2 net 0/5] Ocelot PTP fixes Jakub Kicinski
2024-12-08  2:10 ` 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