[PATCH net-next v3 0/2] net: stmmac: Introduce hw queue priority offload
Lorenzo Bianconi
lorenzo.bianconi at oss.qualcomm.com
Thu Oct 1 06:53:12 PDT 2026
> Implement the offload of the tc mqprio hw queue priority in the stmmac
> driver. This feature requires the mqprio to be configured in channel
> mode.
> Do not overwrite real_num_tx_queues configured by the qdisc in
> stmmac_hw_setup().
>
> ---
> Changes in v3:
> - Fix cbs overwriting removing mqprio qdisc configured in dcb mode.
> - Return an error in stmmac_reinit_queues() if configured number of tx
> queues is lower than xmit_qdisc.num_tx_queues and mqprio offloading is
> enabled.
> - Link to v2: https://lore.kernel.org/r/20260924-stmmac-mqprio-prio-offload-v2-0-fdd8b69efccf@oss.qualcomm.com
>
> Changes in v2:
> - Forbid cbs queue offload if mqprio is already enabled.
> - SP requires 1:1 TC to TXQ map.
> - Fix the real_num_tx_queue overwrite during device open.
> - Require the qdisc to be configured in channel mode to enable hw queue
> priority offload in order to not introduce any regression in the
> previous driver behaviour.
> - Link to v1: https://lore.kernel.org/r/20260918-stmmac-mqprio-prio-offload-v1-1-5328157fcb58@oss.qualcomm.com
I will address sashiko's comment in v4.
Regards,
Lorenzo
>
> ---
> Lorenzo Bianconi (2):
> net: stmmac: add tc mqprio hw queue priority offload
> net: stmmac: align real_num_tx_queues to mqprio configuration
>
> drivers/net/ethernet/stmicro/stmmac/stmmac.h | 9 ++
> drivers/net/ethernet/stmicro/stmmac/stmmac_fpe.c | 2 +-
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 37 ++++--
> drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 144 ++++++++++++++++++++--
> 4 files changed, 169 insertions(+), 23 deletions(-)
> ---
> base-commit: 014d795c73837ea2339a4ea8e8f82c6e959b845d
> change-id: 20260918-stmmac-mqprio-prio-offload-3d82d87f7bc8
>
> Best regards,
> --
> Lorenzo Bianconi <lorenzo.bianconi at oss.qualcomm.com>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261001/501c96f2/attachment.sig>
More information about the linux-arm-kernel
mailing list