[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <832a56d9-8846-a7d3-5ab8-d0f3713bef94@mojatatu.com>
Date: Wed, 17 May 2017 08:27:37 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org
Cc: davem@...emloft.net, xiyou.wangcong@...il.com,
dsa@...ulusnetworks.com, edumazet@...gle.com,
stephen@...workplumber.org, daniel@...earbox.net,
alexander.h.duyck@...el.com, simon.horman@...ronome.com,
mlxsw@...lanox.com
Subject: Re: [patch net-next v4 08/10] net: sched: introduce multichain
support for filters
On 17-05-17 05:08 AM, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...lanox.com>
>
> Instead of having only one filter per block, introduce a list of chains
> for every block. Create chain 0 by default. UAPI is extended so the user
> can specify which chain he wants to change. If the new attribute is not
> specified, chain 0 is used. That allows to maintain backward
> compatibility. If chain does not exist and user wants to manipulate with
> it, new chain is created with specified index. Also, when last filter is
> removed from the chain, the chain is destroyed.
>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Acked-by: Jamal Hadi Salim <jhs@...atatu.com>
cheers,
jamal
Powered by blists - more mailing lists