diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-14 12:21:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-14 12:21:12 -0500 |
commit | 5d498214afced560f13c1b0610583fc883439753 (patch) | |
tree | b5ce274ec5fddee527cc5195f4dba2c6098eb18a /drivers/net/nlmon.c | |
parent | 1988c7957881a83111599273d3f335dd57a70a3e (diff) | |
parent | 93d8a4c1b5f55855ae3ef7063ce79af13212f96f (diff) |
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>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions