]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'mlxsw-Offload-PRIO-qdisc'
authorDavid S. Miller <davem@davemloft.net>
Sun, 14 Jan 2018 17:21:12 +0000 (12:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jan 2018 17:21:12 +0000 (12:21 -0500)
commit5d498214afced560f13c1b0610583fc883439753
treeb5ce274ec5fddee527cc5195f4dba2c6098eb18a
parent1988c7957881a83111599273d3f335dd57a70a3e
parent93d8a4c1b5f55855ae3ef7063ce79af13212f96f
Merge branch 'mlxsw-Offload-PRIO-qdisc'

Jiri Pirko says:

====================
mlxsw: Offload PRIO qdisc

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>