[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <572F757E.4000000@mojatatu.com>
Date: Sun, 8 May 2016 13:21:02 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: Re: [net-next PATCH 0/6] Fix broken late binding of actions
On 16-05-08 01:16 PM, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@...atatu.com>
>
> 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
Sorry - will resend with proper subject
cheers,
jamal
Powered by blists - more mailing lists