public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v4 00/15] net: stmmac: clean up descriptor handling part 1
@ 2026-03-14  9:40 Russell King (Oracle)
  2026-03-14  9:42 ` [PATCH net-next v4 01/15] net: stmmac: rearrange stmmac_tx_info members to pack better Russell King (Oracle)
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Russell King (Oracle) @ 2026-03-14  9:40 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Alexandre Torgue, Alexei Starovoitov, Andrew Lunn, bpf,
	Daniel Borkmann, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Jesper Dangaard Brouer, linux-arm-kernel, linux-stm32, netdev,
	Paolo Abeni, Stanislav Fomichev

Hi,

Part 1 of cleaning up the stmmac descriptor handling. Rearrange the
struct stmmac_tx_info to pack better, and introduce helpers for
duplicated code handing the transmit and receive descriptors. Remove
unnecessary struct members that are only transitorily used.

v4: merge fixes from v2 into correct patch (11 not 13)

 drivers/net/ethernet/stmicro/stmmac/descs.h        |   2 +
 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c |   2 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   8 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  | 458 +++++++++------------
 4 files changed, 197 insertions(+), 273 deletions(-)

-- 
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] 17+ messages in thread

end of thread, other threads:[~2026-03-18  3:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14  9:40 [PATCH net-next v4 00/15] net: stmmac: clean up descriptor handling part 1 Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 01/15] net: stmmac: rearrange stmmac_tx_info members to pack better Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 02/15] net: stmmac: helpers for filling tx_q->tx_skbuff_dma Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 03/15] net: stmmac: clean up stmmac_clear_rx_descriptors() Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 04/15] net: stmmac: add helper to get hardware receive descriptor Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 05/15] net: stmmac: add helper to get size of a " Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 06/15] net: stmmac: add helper to set receive tail pointer Russell King (Oracle)
2026-03-14  9:42 ` [PATCH net-next v4 07/15] net: stmmac: remove rx_tail_addr Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 08/15] net: stmmac: use consistent tests for receive buffer size Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 09/15] net: stmmac: add helper to set " Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 10/15] net: stmmac: simplify stmmac_set_queue_rx_buf_size() Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 11/15] net: stmmac: add helper to get hardware transmit descriptor Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 12/15] net: stmmac: add helper to get size of a " Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 13/15] net: stmmac: add helper to set transmit tail pointer Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 14/15] net: stmmac: remove tx_tail_addr Russell King (Oracle)
2026-03-14  9:43 ` [PATCH net-next v4 15/15] net: stmmac: use queue rather than ->queue_index Russell King (Oracle)
2026-03-18  3:40 ` [PATCH net-next v4 00/15] net: stmmac: clean up descriptor handling part 1 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