Re: [patch net-next 0/5] mlxsw: Offload PRIO qdisc
On 18-01-11 05:20 AM, Jiri Pirko wrote: From: Jiri Pirko 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. Strictly DSCP or 802.1p as well? cheers, jamal
[patch net-next 0/5] mlxsw: Offload PRIO qdisc
From: Jiri Pirko 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. 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 | 174 + .../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, 325 insertions(+), 1 deletion(-) -- 2.14.3