]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_qdisc: Support offloading of TBF Qdisc
authorPetr Machata <petrm@mellanox.com>
Fri, 24 Jan 2020 13:23:14 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jan 2020 09:56:31 +0000 (10:56 +0100)
commitfda3fcf91bc801c9c5fe533dcb4d82f518d400cd
tree931db2051dff4349717abda316b02c7349989bd0
parent5e3b15ae3050802ef2da9dfc838e71228e0ff4d8
mlxsw: spectrum_qdisc: Support offloading of TBF Qdisc

React to the TC messages that were introduced in a preceding patch and
configure egress maximum shaper as appropriate. TBF can be used as a root
qdisc or under one of PRIO or strict ETS bands.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c