[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200124140303.GA2254@nanopsycho.orion>
Date: Fri, 24 Jan 2020 15:03:03 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jiri@...lanox.com,
jhs@...atatu.com, xiyou.wangcong@...il.com, petrm@...lanox.com,
mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com>
Subject: Re: [PATCH net-next 03/14] mlxsw: spectrum_qdisc: Extract a per-TC
stat function
Fri, Jan 24, 2020 at 02:23:07PM CET, idosch@...sch.org wrote:
>From: Petr Machata <petrm@...lanox.com>
>
>Extract from mlxsw_sp_qdisc_get_prio_stats() two new functions:
>mlxsw_sp_qdisc_collect_tc_stats() to accumulate stats for that one TC only,
>and mlxsw_sp_qdisc_update_stats() that makes the stats relative to base
>values stored earlier. Use them from mlxsw_sp_qdisc_get_red_stats().
>
>Signed-off-by: Petr Machata <petrm@...lanox.com>
>Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists