[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170117145903.GA17991@penelope.horms.nl>
Date: Tue, 17 Jan 2017 15:59:04 +0100
From: Simon Horman <simon.horman@...ronome.com>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, jiri@...lanox.com,
paulb@...lanox.com, john.fastabend@...il.com, mrv@...atatu.com,
hadarh@...lanox.com, ogerlitz@...lanox.com, roid@...lanox.com,
xiyou.wangcong@...il.com, daniel@...earbox.net
Subject: Re: [PATCH net-next v4 1/2] net sched actions: Add support for user
cookies
On Tue, Jan 17, 2017 at 06:11:48AM -0500, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@...atatu.com>
>
> Introduce optional 128-bit action cookie.
> Like all other cookie schemes in the networking world (eg in protocols
> like http or existing kernel fib protocol field, etc) the idea is to save
> user state that when retrieved serves as a correlator. The kernel
> _should not_ intepret it. The user can store whatever they wish in the
> 128 bits.
>
> Sample exercise(showing variable length use of cookie)
Hi Jamal,
I think that Daniel made some worthwhile comments regarding the
implementation but schematically I like what I see:
Reviewed-by: Simon Horman <simon.horman@...ronome.com>
Powered by blists - more mailing lists