Re: [PATCH net-next 04/14] mlxsw: spectrum_qdisc: Add mlxsw_sp_qdisc_get_class_stats()

Jiri Pirko
2020-01-24T14:26:29Z

Fri, Jan 24, 2020 at 02:23:08PM CET, idosch@idosch.org wrote:
>From: Petr Machata <petrm@mellanox.com>
>
>Add a wrapper around mlxsw_sp_qdisc_collect_tc_stats() and
>mlxsw_sp_qdisc_update_stats() for the simple case of doing both in one go:
>mlxsw_sp_qdisc_get_class_stats(). Dispatch to that function from
>mlxsw_sp_qdisc_get_red_stats(). This new function will be useful for other
>leaf Qdiscs as well.
>
>Signed-off-by: Petr Machata <petrm@mellanox.com>
>Signed-off-by: Ido Schimmel <idosch@mellanox.com>

Acked-by: Jiri Pirko <jiri@mellanox.com>