mlxsw: Offload PRIO qdisc
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v15 patches 15 repliesSuperseded
Changes in v2 from the cover letter
- Patch 1/5:
- Rewrite patch msg
- Patch 3/5:
- Send all the qstats in the replace command (and not just backlog)
- Patch 5/5:
- Align with the changes from 3/5
- Move backlog to the generic qdisc stats struct
- Delete extra newline
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mlxsw: reg: add rdpm registerdrivers/ drivers/ | +38 | 0 replies | |
| 2/5 | mlxsw: spectrum_router: Configure default routing prioritydrivers/ | +24 | 0 replies | |
| 3/5 | net: sch: prio: Add offload ability to PRIO qdiscinclude/ include/ net/ | +85 | 0 replies | |
| 4/5 | mlxsw: spectrum: qdiscs: Support PRIO qdisc offloaddrivers/ drivers/ drivers/ | +86 | 0 replies | |
| 5/5 | mlxsw: spectrum: qdiscs: Support stats for PRIO qdiscdrivers/ | +89 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Yuval Mintz |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch net-next v2 0/5] mlxsw: Offload PRIO qdisc
From: Jiri Pirko <[email protected]>
Nogah says:
Add an offload support for PRIO qdisc for mlxsw driver. PRIO qdisc is being offloaded by using ndo_setup_tc. It has three commands, to set or tune the qdisc, to remove it and to get its stats.
Like RED offloading, offloading this qdisc is not enforced on the driver and determining its offload state is done in the dump action, when the stats are being updated.
In the driver, offloading of PRIO is supported as root qdisc only. It supports only priorities 0-7 (the range that is used by the current static mapping of DSCP to skb prio and by 1:1 PCP values mapping) and up to 8 bands.
Patches 1-2 offload DSCP to priority mapping in the mlxsw_sp driver. Patch 3 adds offload support for PRIO qdisc.
Patches 4-5 Add PRIO offload support in the mlxsw_sp driver.
---v1->v2:
- Patch 1/5:
- Rewrite patch msg
- Patch 3/5:
- Send all the qstats in the replace command (and not just backlog)
- Patch 5/5:
- Align with the changes from 3/5
- Move backlog to the generic qdisc stats struct
- Delete extra newline
Nogah Frankel (3):
net: sch: prio: Add offload ability to PRIO qdisc
mlxsw: spectrum: qdiscs: Support PRIO qdisc offload
mlxsw: spectrum: qdiscs: Support stats for PRIO qdisc
Yuval Mintz (2):
mlxsw: reg: add rdpm register
mlxsw: spectrum_router: Configure default routing priority
drivers/net/ethernet/mellanox/mlxsw/item.h | 2 +- drivers/net/ethernet/mellanox/mlxsw/reg.h | 37 +++++ drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 + drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 2 + .../net/ethernet/mellanox/mlxsw/spectrum_qdisc.c | 171 +++++++++++++++++++++ .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 24 +++ include/linux/netdevice.h | 1 + include/net/pkt_cls.h | 25 +++ net/sched/sch_prio.c | 59 +++++++ 9 files changed, 322 insertions(+), 1 deletion(-)
Signature · 1 line
2.14.3