Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] Implement mqprio and ets qdisc offload in stmmac driver
@ 2026-08-08 14:49 Lorenzo Bianconi
  2026-08-08 14:49 ` [PATCH net-next v3 1/3] net: stmmac: add tc-ets qdisc offload Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lorenzo Bianconi @ 2026-08-08 14:49 UTC (permalink / raw)
  To: Maxime Chevallier, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Maxime Coquelin, Alexandre Torgue
  Cc: Daniel Thompson, Alex Elder, Davide Caratti, netdev, linux-stm32,
	linux-arm-kernel, Lorenzo Bianconi


---
Changes in v3:
- Limit number of tx queues to ETS bands enabling ETS qdisc offload.
- Do not overwrite previosuly configured qdisc if ETS offloading fails.
- Check dcb DMA capability before programming the sched registers.
- Always power-on the device before applying qdisc offload configuration
- Fix priority applied for SP tx queues.
- Link to v2: https://lore.kernel.org/r/20260807-stmmac-ets-offload-v2-0-9ac67af92cb8@oss.qualcomm.com

Changes in v2:
- Implement strict priority policy in mqprio qdisc offload
- Restore to dt configured values destroying the qdisc
- Do not ets offload if there are any queues in avb mode.
- Re-apply ETS configuration closing/opening the net_device.
- Link to v1: https://lore.kernel.org/r/20260804-stmmac-ets-offload-v1-1-f3a09169d22b@oss.qualcomm.com

---
Lorenzo Bianconi (3):
      net: stmmac: add tc-ets qdisc offload
      net: stmmac: add tc-mqprio qdisc offload
      net: stmmac: hold runtime PM reference in setup_tc

 drivers/net/ethernet/stmicro/stmmac/hwif.h        |   4 +
 drivers/net/ethernet/stmicro/stmmac/stmmac.h      |  10 ++
 drivers/net/ethernet/stmicro/stmmac/stmmac_fpe.c  |  20 ++-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |  86 +++++++++---
 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c   | 159 +++++++++++++++++++++-
 5 files changed, 251 insertions(+), 28 deletions(-)
---
base-commit: 8ac4255c1e0c83d2e1559a18b8918673116fc8d6
change-id: 20260804-stmmac-ets-offload-cc936c99fdb1

Best regards,
-- 
Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>



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

end of thread, other threads:[~2026-08-14 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-08 14:49 [PATCH net-next v3 0/3] Implement mqprio and ets qdisc offload in stmmac driver Lorenzo Bianconi
2026-08-08 14:49 ` [PATCH net-next v3 1/3] net: stmmac: add tc-ets qdisc offload Lorenzo Bianconi
2026-08-08 14:49 ` [PATCH net-next v3 2/3] net: stmmac: add tc-mqprio " Lorenzo Bianconi
2026-08-14 20:56   ` Jakub Kicinski
2026-08-08 14:49 ` [PATCH net-next v3 3/3] net: stmmac: hold runtime PM reference in setup_tc Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox