Skip to content

RFC Add ETS and TBF Qdisc offload for Airoha EN7581 SoC

Lorenzo Bianconi netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: airoha: Enable Tx drop capability for each Tx DMA ringdrivers/net/ethernet/mediatek/airoha_eth.c+4 -00 replies
2/5net: airoha: Introduce ndo_select_queue callbackdrivers/net/ethernet/mediatek/airoha_eth.c+26 -20 replies
3/5net: dsa: Introduce ndo_setup_tc_conduit callbackinclude/linux/netdevice.h net/dsa/user.c+53 -60 replies
4/5net: airoha: Add sched ETS offload supportdrivers/net/ethernet/mediatek/airoha_eth.c+154 -12 replies
5/5net: airoha: Add sched TBF offload supportdrivers/net/ethernet/mediatek/airoha_eth.c+185 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC net-next 0/5] Add ETS and TBF Qdisc offload for Airoha EN7581 SoC

Introduce support for ETS and TBF qdisc offload available in the Airoha EN7581 ethernet controller.
Some DSA hw switches do not support Qdisc offloading or the mac chip has more fine grained QoS capabilities with respect to the hw switch (e.g. Airoha EN7581 mac chip has more hw QoS and buffering capabilities with respect to the mt7530 switch).
Introduce ndo_setup_tc_conduit callback in order to allow tc to offload Qdisc policies for the specified DSA user port configuring the hw switch cpu port (mac chip).

Lorenzo Bianconi (5):
net: airoha: Enable Tx drop capability for each Tx DMA ring
net: airoha: Introduce ndo_select_queue callback
net: dsa: Introduce ndo_setup_tc_conduit callback
net: airoha: Add sched ETS offload support
net: airoha: Add sched TBF offload support

 drivers/net/ethernet/mediatek/airoha_eth.c | 372 ++++++++++++++++++++-
 include/linux/netdevice.h                  |  12 +
 net/dsa/user.c                             |  47 ++-
 3 files changed, 422 insertions(+), 9 deletions(-)
Signature · 1 line
2.47.1