[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160510.235055.441910590125653514.davem@davemloft.net>
Date: Tue, 10 May 2016 23:50:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jhs@...atatu.com
Cc: netdev@...r.kernel.org, xiyou.wangcong@...il.com, jiri@...nulli.us,
alexander.duyck@...il.com
Subject: Re: [net PATCH v2 0/6] net sched: Fix broken late binding of
actions
From: Jamal Hadi Salim <jhs@...atatu.com>
Date: Tue, 10 May 2016 16:49:25 -0400
> Some actions were broken in allowing for late binding of actions.
> Late binding workflow is as follows:
> a) create an action and provide all necessary parameters for it
> Optionally provide an index or let the kernel give you one.
> Example:
> sudo tc actions add action police rate 1kbit burst 90k drop index 1
>
> b) later on bind to the pre-created action from a filter definition
> by merely specifying the index.
> Example:
> sudo tc filter add dev lo parent ffff: protocol ip prio 8 \
> u32 match ip src 127.0.0.8/32 flowid 1:8 action police index 1
Series applied, thanks Jamal.
Powered by blists - more mailing lists