[PATCH net-next v3 0/3] Implement mqprio and ets qdisc offload in stmmac driver
Lorenzo Bianconi
lorenzo.bianconi at oss.qualcomm.com
Sat Aug 8 07:49:56 PDT 2026
---
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 at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list