netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: ethernet: ti: am65-cpsw: drop multiple functions and code cleanup
@ 2025-02-17  7:31 Roger Quadros
  2025-02-17  7:31 ` [PATCH net-next 1/5] net: ethernet: ti: am65-cpsw: remove am65_cpsw_nuss_tx_compl_packets_2g() Roger Quadros
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Roger Quadros @ 2025-02-17  7:31 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Alexei Starovoitov, Daniel Borkmann,
	Jesper Dangaard Brouer, John Fastabend, Siddharth Vadapalli,
	Md Danish Anwar
  Cc: srk, netdev, linux-kernel, bpf, Roger Quadros

We have 2 tx completion functions to handle single-port vs multi-port
variants. Merge them into one function to make maintenance easier.

We also have 2 functions to handle TX completion for SKB vs XDP.
Get rid of them too.

Also do some minor cleanups.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
---
Roger Quadros (5):
      net: ethernet: ti: am65-cpsw: remove am65_cpsw_nuss_tx_compl_packets_2g()
      net: ethernet: ti: am65_cpsw: remove cpu argument am65_cpsw_run_xdp
      net: ethernet: ti: am65-cpsw: use return instead of goto in am65_cpsw_run_xdp()
      net: ethernet: ti: am65_cpsw: move am65_cpsw_put_page() out of am65_cpsw_run_xdp()
      net: ethernet: ti am65_cpsw: Drop separate TX completion functions

 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 211 +++++++++----------------------
 drivers/net/ethernet/ti/am65-cpsw-nuss.h |   8 ++
 2 files changed, 71 insertions(+), 148 deletions(-)
---
base-commit: 489b31c6cf29fff5b1f5c48625770f45cea90ada
change-id: 20250214-am65-cpsw-zc-prep-038276579e73

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


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

end of thread, other threads:[~2025-02-24 13:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  7:31 [PATCH net-next 0/5] net: ethernet: ti: am65-cpsw: drop multiple functions and code cleanup Roger Quadros
2025-02-17  7:31 ` [PATCH net-next 1/5] net: ethernet: ti: am65-cpsw: remove am65_cpsw_nuss_tx_compl_packets_2g() Roger Quadros
2025-02-18 18:01   ` Simon Horman
2025-02-17  7:31 ` [PATCH net-next 2/5] net: ethernet: ti: am65_cpsw: remove cpu argument am65_cpsw_run_xdp Roger Quadros
2025-02-18 18:01   ` Simon Horman
2025-02-17  7:31 ` [PATCH net-next 3/5] net: ethernet: ti: am65-cpsw: use return instead of goto in am65_cpsw_run_xdp() Roger Quadros
2025-02-18 18:02   ` Simon Horman
2025-02-17  7:31 ` [PATCH net-next 4/5] net: ethernet: ti: am65_cpsw: move am65_cpsw_put_page() out of am65_cpsw_run_xdp() Roger Quadros
2025-02-18 18:03   ` Simon Horman
2025-02-24 13:00     ` Roger Quadros
2025-02-17  7:31 ` [PATCH net-next 5/5] net: ethernet: ti am65_cpsw: Drop separate TX completion functions Roger Quadros
2025-02-18 18:04   ` Simon Horman
2025-02-19 12:00 ` [PATCH net-next 0/5] net: ethernet: ti: am65-cpsw: drop multiple functions and code cleanup 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).