public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: ethernet: ti: am65-cpsw: streamline RX/TX queue creation and cleanup
@ 2025-01-17 14:06 Roger Quadros
  2025-01-17 14:06 ` [PATCH net-next v2 1/3] net: ethernet: ti: am65-cpsw: ensure proper channel cleanup in error path Roger Quadros
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Roger Quadros @ 2025-01-17 14:06 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Russell King, Alexei Starovoitov, Daniel Borkmann,
	Jesper Dangaard Brouer, John Fastabend
  Cc: Siddharth Vadapalli, srk, danishanwar, Russell King (Oracle),
	netdev, linux-kernel, bpf, Roger Quadros

In this series we fix an issue with missing cleanups during
error path of am65_cpsw_nuss_init_tx/rx_chns() when used anywhere
other than at probe().

Then we streamline RX and TX queue creation and cleanup. The queues
can now be created or destroyed by calling the appropriate
functions am65_cpsw_create_rxqs/txqs() and am65_cpsw_destroy_rxq/txqs().

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
Changes in v2:
- dropped netif_carrier_on/off patch as it was clearly wrong
- dropped the probe cleanup patch and introduced a new patch instead
  that only focuses on one issue and not the cosmetics.
  i.e. proper cleanup in error path of am65_cpsw_nuss_init_tx/rx_chns()
- Link to v1: https://lore.kernel.org/r/20250115-am65-cpsw-streamline-v1-0-326975c36935@kernel.org

---
Roger Quadros (3):
      net: ethernet: ti: am65-cpsw: ensure proper channel cleanup in error path
      net: ethernet: ti: am65-cpsw: streamline RX queue creation and cleanup
      net: ethernet: ti: am65-cpsw: streamline TX queue creation and cleanup

 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 429 +++++++++++++++++--------------
 1 file changed, 238 insertions(+), 191 deletions(-)
---
base-commit: 9c7ad35632297edc08d0f2c7b599137e9fb5f9ff
change-id: 20250111-am65-cpsw-streamline-33587ae6e9e5

Best regards,
-- 
Roger Quadros <rogerq@kernel.org>


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17 14:06 [PATCH net-next v2 0/3] net: ethernet: ti: am65-cpsw: streamline RX/TX queue creation and cleanup Roger Quadros
2025-01-17 14:06 ` [PATCH net-next v2 1/3] net: ethernet: ti: am65-cpsw: ensure proper channel cleanup in error path Roger Quadros
2025-01-17 14:06 ` [PATCH net-next v2 2/3] net: ethernet: ti: am65-cpsw: streamline RX queue creation and cleanup Roger Quadros
2025-01-17 14:06 ` [PATCH net-next v2 3/3] net: ethernet: ti: am65-cpsw: streamline TX " Roger Quadros
2025-01-20 23:10 ` [PATCH net-next v2 0/3] net: ethernet: ti: am65-cpsw: streamline RX/TX " 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