[PATCH net-next v3 0/3] Implement mqprio and ets qdisc offload in stmmac driver
Lorenzo Bianconi <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.infradead.lists.linux-arm-kernel |
|---|---|
| Message-ID | <[email protected]> |
--- 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/[email protected] 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/[email protected] --- 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 <[email protected]>